code: def closed(self):
          
          closed = self._closing or self._closed
          if not closed and self._reader and self._reader.at_eof():
              self._closing = closed = True
              self._loop.call_soon(self._do_close, None)
          return closed
docs: True if connection is closed.