.. include:: ../substitutions

.. oe:namespace:: OEChem

.. oe:function:: OEHasExplicitHydrogenExpression

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

      .. oe:api::

         bool OEHasExplicitHydrogenExpression(const OEQMolBase& qmol)

   .. oe:language:: python

      .. oe:api:: python

         OEHasExplicitHydrogenExpression(arg1: OEQMol) -> bool

   Returns `true` if the query molecule (:ref:`OEQMolBase <OEChem_OEQMolBase>`) has
   any explicit hydrogen(s).
   For example, if the query molecule has been initialized from the ``CO[H]``
   or ``[CO[#1,#6]]`` SMARTS patterns.

   .. seealso::

      * :oe:func:`OEChem::OEHasImplicitHydrogenExpression` function
      * :ref:`chapter_SMARTS` chapter
