def _get_equality(analysis_1: dict, analysis_2: dict) -> dict:
    """Compares the two input dictionaries and generates a new dictionary,
    representing the equality between the two.

    Args:
        analysis_1(dict): Eg: {'rs10144418': ['T', 'C'], 'rs1037256': ['G', 'A'],... }
        analysis_2(dict): Eg: {'rs10144418': ['A', 'C'], 'rs1037256': ['G', 'A'],... }
    Returns:
        compare_dict(dict): Eg: {'rs10144418': False, 'rs1037256': True,... }
    """

    compare_dict = {}

    for snp in set(list(analysis_1.keys()) + list(analysis_2.keys())):
        if set(analysis_1.get(snp, [])) == set(analysis_2.get(snp, [])):
            compare_dict[snp] = True
        else:
            compare_dict[snp] = False

    return compare_dict