@staticmethod
def is_distinct(sol_list, sol):
    """
        Check if x is distinct from each solution in seta.

        :param seta: a list
        :param x: a Solution object
        :return: True or False
        """
    for ins in sol_list:
        if sol.is_equal(ins):
            return False
    return True
