How can I verify if a function was defined in JavaScript?
<p>How can I verify if a function was defined already?</p>

<p>Will this work?</p>

<pre><code>if(window.opener.MyFunctionBlah) {  ...  }
</code></pre>
