'Given a list of statuses from several requests, determine if
a quorum response can already be decided.
:param statuses: list of statuses returned
:param node_count: number of nodes being queried (basically ring count)
:param quorum: number of statuses required for quorum
:returns: True or False, depending on if quorum is established'

def have_quorum(self, statuses, node_count, quorum=None):

    if (quorum is None):
        quorum = self._quorum_size(node_count)
    if (len(statuses) >= quorum):
        for hundred in (HTTP_CONTINUE, HTTP_OK, HTTP_MULTIPLE_CHOICES, HTTP_BAD_REQUEST):
            if (sum((1 for s in statuses if (hundred <= s < (hundred + 100)))) >= quorum):
                return True
    return False
