.. oe:namespace:: OEMedChem

.. meta::
   :keywords: OEIsMCSFragDatabaseFiletype OEIsMCSFragDatabaseFileType IsMCSFragDatabaseFiletype IsMCSFragDatabaseFileType

.. oe:function:: OEIsMCSFragDatabaseFileType

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

      .. oe:api::

         bool OEIsMCSFragDatabaseFileType(unsigned int type)
         bool OEIsMCSFragDatabaseFileType(const std::string& filename)

   .. oe:language:: python

      .. oe:api:: python

         OEIsMCSFragDatabaseFileType(type: int) -> bool
         OEIsMCSFragDatabaseFileType(filename: str) -> bool

   This function returns a boolean indicating whether the provided :oe:constns:`OEMedChem::OEMatchedPairAnalyzerFileType` value
   or filename is a serialized fragment index type, i.e., has a file extension of ``.mcsfrag``.
