How to test if a directory is a python module path?
<p>In order to test if a directory <code>path</code> if a python module path (i.e. contains a file named <code>__init__.py</code>) one can do something like</p>

<pre><code>os.path.isfile(os.path.join(path, '__init__.py'))
</code></pre>

<p>I wonder if there is a special function call to do that?</p>
