@property
    def connected(self):
        return bool(self.transport and self.transport.connected)
L{TransportProxyProducer} instances provide L{IPushProducer}.
dataset/ETHPy150Open veegee/amqpy/amqpy/connection.py/Connection.connected--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/web/test/test_newclient.py/TransportProxyProducerTests.test_interface