isDeviceAvailable

abstract fun isDeviceAvailable(): Boolean

Checks if the connection to the device exists.

This function returns false if a device is turned off, out of range or not connected any more.