code: function (notification) {
        if (!notification.id) {
          return false;
        }
  
        return _.some(notifications, function(next) {
          return !next.hidden && notification.id === next.id;
        });
      }
docs: Is there a visible toast notification with the same ID right now?