@staticmethod
def filtered_id(pair_ids_with_ems):
    """return the pair_id if there is at least one not None value, else returns None"""
    pair_id = None
    for id_ in pair_ids_with_ems:
        if id_ is not None:
            pair_id = id_
    return pair_id
