hasEventListener(eventName, listener) {
    return (
      this._listeners[eventName] !== undefined &&
      this._listeners[eventName].indexOf(listener) !== -1
    );
  }
Check if an event listener is already added to the list of listeners
@param {String} eventName Name of the event to check
@param {Function} listener Callback for the specified event