code: function (username, channel) {
          var list = this.getUserNotifications(username);
          // if we are not tracking the user there is no notifications
          if (list === null) {
              return false;
          }
  
          // return if the channel is in the users list
          return list.indexOf(channel) >= 0;
      }
docs: Is the username setup for notifications?
  
  @param {string} username - The account name to check for
  @param {string} channel - The channel to notify in
  @returns {boolean} true if in list, false otherwise