code: function checkIfFieldsExist(fieldStr,rows) {
  
      var ret = true;
  
      if(fieldStr.search(',') > -1 ) {
          var fieldArr = fieldStr.split(',');
          fieldArr.forEach(function (field) {
              if(ret) {
                  if(rows.filter(function (r) {return r.Field === field;}).length == 0) {
                      ret = false;
                  }
              }
          });
      } else {
          if(rows.filter(function (r) {return r.Field === fieldStr;}).length == 0) {
              ret = false;
          }
      }
  
      return ret;
  }
docs: Search in DB if the field(s) exist
  @param fieldStr
  @param rows
  @returns {boolean}