code: function(attrs, options) {
        var error = this.validate(attrs);
        if (error) {
          if (options.error) {
            options.error(this, error, options);
          } else {
            this.trigger('error', this, error, options);
          }
          return false;
        }
        return true;
      }
docs: Run validation against a set of incoming attributes, returning `true` if all is well. If a specific `error` callback has been passed, call that instead of firing the general `"error"` event.