def atom_in_core(atom, separated_cores):
    """ Checks if an atom is in any of the lists of atoms. """

    for core in separated_cores:
        if atom in core:
            return True
    return False