.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEHasExplicitHydrogens

.. oe:function:: OEHasExplicitHydrogens

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

      .. oe:api::

         bool OEHasExplicitHydrogens(const OEMolBase& mol)

   .. oe:language:: python

      .. oe:api:: python

         OEHasExplicitHydrogens(mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool


   Determines whether a molecule has any explicit hydrogens.  A return
   value of ``true`` indicates that one or more of the
   :ref:`OEAtomBase <OEChem_OEAtomBase>` 's of the given molecule has an atomic
   number of one (:oe:const:`OEChem::OEElemNo::H`).

