.. # split from OEBioFunctions.rst:400

.. include:: ../substitutions

.. oe:namespace:: OEBio

.. meta::
   :keywords: OEHasBondedResidues

.. oe:function:: OEHasBondedResidues

   .. oe:language:: c++ java csharp

      .. oe:api::

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

   .. oe:language:: python

      .. oe:api:: python

         OEHasBondedResidues(mol: Union[OEGraphMol,OEMol,OEQMol], assume: int) -> bool

   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 :oe:constns:`OEBio::OEAssumption` namespace for more information).

