code: function() {
        var resultDeferred = $.Deferred();
        if (this.isDisposed()) {
          var rejectArguments = Array.prototype.slice.call(arguments);
          rejectArguments.push('Data Behavior disposed, aborting.');
          resultDeferred.reject.apply(resultDeferred, rejectArguments);
        } else {
          resultDeferred.resolve.apply(resultDeferred, arguments);
        }
        return resultDeferred.promise();
      }
docs: Rejects the promise chain if this behavior is already disposed.
  @return {jQuery.Promise} that is resolved if the behavior is not disposed and rejects if the behavior is disposed.
  @private