6.0.0 - is_connected() returns only boolean
Updated is_connected()
to return True
or False
depending on connection status, and no longer raises an exception if not connected. This is an API breaking change.
To use in CircuitPython, simply install the Adafruit CircuitPython Bundle.
To use in CPython, pip3 install adafruit-circuitpython-minimqtt
.
Read the docs for info on how to use it.