def check_uniques(example, uniques):
    """If an example is in uniques, return True and remove it from uniques."""
    if example["variables"] in uniques:
        uniques.remove(example["variables"])
        return True
    else:
        return False