.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEHasRadii

.. oe:function:: OEHasRadii

   .. oe:api::

      bool OEHasRadii(const OEMolBase &mol, bool all=true)

   OEHasRadii returns whether atoms in the molecule have radii assigned.

   When ``all`` is ``true`` (the default), the function returns ``true`` only
   if every non-dummy atom has a non-zero radius. When ``all`` is ``false``,
   the function returns ``true`` if any non-dummy atom has a non-zero radius.

   .. note::

      Dummy atoms (atomic number :oe:const:`OEChem::OEElemNo::Du`) are
      excluded from the check.

   .. seealso::

      * :oe:func:`OEChem::OEAssignRadii`
      * :oe:meth:`OEChem::OEAtomBase::GetRadius`
      * :ref:`section_periodictable_atomradius` section
