def dominance(solution_1, solution_2):
    """
    Function that analyze solutions dominance.

    Parameters
    -----------
    :param solution_1: Solution
    :param solution_2: Solution

    Returns
    ---------
    :return int
        If solution_1 dominates solution_2 -> return 1
    :return -1
        If solution_2 dominates solution_1 -> return -1
    :return 0
        If neither solution dominates the other -> return 0
    """
    dominance_1, dominance_2 = False, False

    for i, value in enumerate(solution_1.values):

        if value > solution_2.values[i]:
            #  Solution 1 at least greater in one value
            dominance_1 = True

        elif value < solution_2.values[i]:
            # Solution 2 at least greater in one value
            dominance_2 = True

    # Solution 1 dominates solution 2
    if dominance_1 and not dominance_2:
        return 1

    # Solution 2 dominates solution 1
    if not dominance_1 and dominance_2:
        return -1

    return 0