def is_connected(self):
        return self._connected
Returns True if connected to Adafruit.IO and False if not connected.
dataset/ETHPy150Open adafruit/io-client-python/Adafruit_IO/mqtt_client.py/MQTTClient.is_connected