code: function(field) {
      if (this._template) {
        var match = field.match(this.fieldRegex);
        return match && this.vars.hasOwnProperty(match[1]);
      }
      return false;
    }
docs: Validates the formatting of a template field,
  and checks for its name in the vars mapping table.