bool isDeviceAttached()

This function can be used to indicate if a compatible reader is attached to the USB port.

Return

True if the device is attached, false otherwise.