.. oe:namespace:: OEEon

.. meta::
   :keywords: OEEtIsLicensed

.. _OEEon_OEEtIsLicensed:

.. oe:function:: OEEtIsLicensed

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

      .. oe:api::

         bool OEEtIsLicensed(const char* feature = 0, unsigned int* expdate = 0)

   .. oe:language:: python

      .. oe:api:: python

         OEEtIsLicensed(feature: str = None, expdate: int = None) -> bool

   Determines whether a valid license file is present.  This function may
   be called without a legitimate run-time license to determine whether
   it is safe to call any **Eon TK** functionality.

   The feature argument can be used to check for a valid license to
   **Eon TK** along with the following features: python.

   The expdate argument can be used to obtain the expiration date of
   the current **Eon TK** license.

   .. seealso::

      * :oe:func:`OEChem::OEChemIsLicensed` function
