@property
    def status(self):
        if self.client.closed:
            return "closed"
        elif self.client.readable and self.client.writable:
            return "open"
        elif self.client.readable and not self.client.writable:
            return "readonly"
        elif not self.client.readable and self.client.writable:
            return "writeonly"
        else:
            return "closed"
return current status
dataset/ETHPy150Open benoitc/flower/flower/net/base.py/IConn.status