code: function hasListener(event, fn) {
  		return listeners[event] ?
  			listeners[event].some(function(l) {
  				return l === fn;
  			}) :
  			false;
  	}
docs: 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