added: hasEventListener( type [, listener] );

This may be useful.