(self)
return self.stream.closed
indicates whether the underlying stream has been closed
indicates whether the underlying stream has been closed
indicates whether the underlying stream has been closed
def closed(self):
        """indicates whether the underlying stream has been closed"""
        return self.stream.closed
def closed ( self ) : return self . stream . closed