index.js
function hasListener(event, fn) {
		return listeners[event] ?
			listeners[event].some(function(l) {
				return l === fn;
			}) :
			false;
	}
function hasListener(event, fn) {
		return listeners[event] ?
			listeners[event].some(function(l) {
				return l === fn;
			}) :
			false;
	}
function hasListener ( event , fn ) { return listeners [ event ] ? listeners [ event ] . some ( function ( l ) { return l === fn ; } ) : false ; }
Returns whether the specified event has the specified listener.
@param event the event to check for the listener
@param fn the listener to check for
@returns {boolean} whether the specified event has the specified listener
Returns whether the specified event has the specified listener .