def check_candidates_against_protected(candidates, protected):
    """
    use sets to check whether there is any common membership
    """
    if bool(set(candidates) & set(protected)):
        return True
    else:
        return False