def is_alive(self):
        if self.transport:
            return self.transport.is_alive()
        else:
            return False
Check if connection is alive
dataset/ETHPy150Open veegee/amqpy/amqpy/connection.py/Connection.is_alive