def can_read(self):
    if (not self._reader):
        raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
    if (self._next_response is False):
        self._next_response = self._reader.gets()
    return (self._next_response is not False)
def can_read(self):
    if (not self._reader):
        raise ConnectionError(SERVER_CLOSED_CONNECTION_ERROR)
    if (self._next_response is False):
        self._next_response = self._reader.gets()
    return (self._next_response is not False)