@staticmethod
def majority(it):
    """
        Specifies which type of vote(True or False) is major

        :param it: len(int) of s(described in decide_fame), votes(bool)
        :type it: generator object
        :return: v - majority vote in s, t - number of events in s with a vote of v
        :rtype: v: bool, t: int
        """
    hits = [0, 0]
    for s, x in it:
        hits[int(x)] += s
    if hits[0] > hits[1]:
        return False, hits[0]
    else:
        return True, hits[1]
