def check_mol_does_not_have_atoms(mol, exclude_atom_list):
    """Checks if rdkit.Mol contains any molecule from exclude_atom_list."""
    atom_symbol_list = [atom.GetSymbol() for atom in mol.GetAtoms()]
    return all(atom not in atom_symbol_list for atom in exclude_atom_list)