.. oe:namespace:: OEFastROCS

.. meta::
   :keywords: OEIsDatabasePrepared

.. oe:function:: OEIsDatabasePrepared 

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

      .. oe:api::

         bool OEIsDatabasePrepared(OEChem::OEMolBase& mol)
         bool OEIsDatabasePrepared(OEChem::OEMolDatabase& moldb)

   .. oe:language:: python

      .. oe:api:: python

         OEIsDatabasePrepared(moldb: OEMolDatabase) -> bool
         OEIsDatabasePrepared(mol: Union[OEGraphMol,OEMol,OEQMol]) -> bool

   Returns True if the database (:ref:`OEMolDatabase <OEChem_OEMolDatabase>`) or
   molecule (:ref:`OEMolBase <OEChem_OEMolBase>`) input has already been prepared with the
   :oe:func:`OEFastROCS::OEPrepareFastROCSMol` function and False if  
   preparation is still required.

   It is recommended that all sizable databases that are intended to be re-used 
   undergo preparation in order to benefit from significantly faster 
   load times.

