code: def closed(self) -> bool:
          '''Return whether the connection is closed.'''
          return not self.writer or not self.reader or self.reader.at_eof(f closed(self) -> bool:
          '''Return whether the connection is closed.'''
          return not self.writer or not self.reader or self.reader.at_eof()
docs: Return whether the connection is closed.