title: hasEventListener in javascript
body: <p>JavaScript doesn't have an <code>hasEventListener</code> function.  What can I use in its place?</p>
  
  <p>I'm doing:</p>
  
  <pre><code>someForm.addEventListener( "submit", _submitHandler, false );
  </code></pre>
  
  <p>And I have a "forms controller", which should test which forms have a listener for the submit event.</p>