fun isConnected(context: Context): Boolean
Check is device is connected.
context - pass a context
context
Return connection status