OEHasExplicitHydrogens

bool OEHasExplicitHydrogens(const OEMolBase &mol)

Determines whether a molecule has any explicit hydrogens. A return value of true indicates that one or more of the OEAtomBase ‘s of the given molecule has an atomic number of one (OEElemNo::H).