OEHasBondedResidues

bool OEHasBondedResidues(OEChem::OEMolBase &mol,
                         unsigned assume=OEAssumption::Default)

Returns a boolean value indicating whether all of the atoms of each residue in the molecule are bonded to one another. The assume argument is a bitmask that indicates whether the algorithm can assume that the molecule has perceived residues, has PDB ordered atoms, or as bonded residues (see the OEAssumption namespace for more information).