How to find if directory exists in Python
<p>In the <code>os</code> module in Python, is there a way to find if a directory exists, something like --</p>

<pre><code>&gt;&gt;&gt; os.direxists(os.path.join(os.getcwd()), 'new_folder')) # in pseudocode
True/False
</code></pre>
