code: function findField(field, models) {
    var found = false;
  
    _.each(models, function(model) {
      // Go through fields
      _.each(model.fields, function(f) {
        if (f.input === field) {
          found = {
            modelName: model.modelName,
            field: f
          };
        }
      });
    });
  
    return found;
  }
docs: Find definition in models