Can I find out whether a host function was overwritten?
<p>Is it possible to check whether a browser-provided function has been replaced by user code?</p>

<pre><code>function alert(str){
    document.write(str);
}

alert('hello world');
</code></pre>
