code: def keep_alive(self):
          
          return (
              self._keep_alive
              and not self.signal.stopped
              and self.parser.should_keep_alive()
          )
docs: Check if the connection needs to be kept alive based on the params
          attached to the `_keep_alive` attribute, :attr:`Signal.stopped`
          and :func:`HttpProtocol.parser.should_keep_alive`
  
          :return: ``True`` if connection is to be kept alive ``False`` else