.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEBio

.. oe:function:: OEIsReadableDesignUnit

   .. attention::

      |TWOLANGUAGE|

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

      .. oe:api::

         bool OEIsReadableDesignUnit(const std::string& filename)

   .. oe:language:: python

      .. oe:api:: python

         OEIsReadableDesignUnit(filename: str) -> bool

   Returns ``true`` if the supplied file name is readable by
   :oe:func:`OEBio::OEReadDesignUnit`.

   .. seealso::

      * :ref:`OEDesignUnit <OEBio_OEDesignUnit>` class
      * :oe:func:`OEBio::OEReadDesignUnit` function
