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