code: function checkForNotification(versionInfoUrl) {
          var result = new $.Deferred();
  
          _getNotificationInformation(versionInfoUrl)
              .done(function (notificationInfo) {
                  // Get all available notifications
                  var notifications = notificationInfo.notifications;
                  if (notifications && notifications.length > 0) {
                      // Iterate through notifications and act only on the most recent
                      // applicable notification
                      notifications.every(function(notificationObj) {
                          // Only show the notification overlay if the user hasn't been
                          // alerted of this notification
                          if (_checkNotificationValidity(notificationObj)) {
                              if (notificationObj.silent) {
                                  // silent notifications, to gather user validity based on filters
                                  HealthLogger.sendAnalyticsData("notification", notificationObj.sequence, "handled");
                              } else {
                                  showNotification(notificationObj);
                              }
                              // Break, we have acted on one notification already
                              return false;
                          }
                          // Continue, we haven't yet got a notification to act on
                          return true;
                      });
                  }
                  result.resolve();
              })
              .fail(function () {
                  // Error fetching the update data. If this is a forced check, alert the user
                  result.reject();
              });
  
          return result.promise();
      }
docs: Check for notifications, notification overlays are always displayed
  
  @return {$.Promise} jQuery Promise object that is resolved or rejected after the notification check is complete.