OEHasColorAtoms

bool OEHasColorAtoms(const OEChem::OEMolBase &mol)

Returns true if the molecule has any color atoms attached. Note, OEHasColorAtoms only checks for the existence of color atoms on the molecule, even if OEAddColorAtoms did not match any substructures to create color atoms. Use OEHasPerceivedColorAtoms if trying to determine whether OEAddColorAtoms still needs to be called on the molecule.