isConnected

Returns whether a device is connected.