@property
    def connected(self):
        return bool(self.transport and self.transport.connected)
Check if connection is connected
dataset/ETHPy150Open veegee/amqpy/amqpy/connection.py/Connection.connected