code: function(options) {
          var form = this.getForm(options);
          if (form) {
              return (options.isUpload || (/multipart\/form-data/i).test(form.getAttribute('enctype')));
          }
          return false;
      }
docs: Detects whether the form is intended to be used for an upload.
  @private