def __bool__(self):
        return self.is_ready()

    # python 2.x version of __bool__
Called by python runtime to implement truth value testing and the
dataset/ETHPy150Open pika/pika/pika/adapters/blocking_connection.py/_CallbackResult.__bool__