code: def _has_message(self):
          
          sep = protocol.MINIMAL_LINE_SEPARATOR.encode(self.encoding)
          return sep in self._receive_buffer
docs: Whether or not we have messages available for processing.