code: function checkIfAnotherSessionInProgress() {
          var result = $.Deferred();
          if(updateJsonHandler) {
              var state = updateJsonHandler.state;
  
              updateJsonHandler.refresh()
                  .done(function() {
                      var val = updateJsonHandler.get(updateProgressKey);
                      if(val !== null) {
                          result.resolve(val);
                      } else {
                          result.reject();
                      }
                  })
                  .fail(function() {
                      updateJsonHandler.state = state;
                      result.reject();
                  });
          }
          return result.promise();
      }
docs: Checks if an auto update session is currently in progress
  @returns {boolean} - true if an auto update session is currently in progress, false otherwise