code: function checkForReservedFieldName(args) {
    if (!args) {
      return;
    }
    if (args.databaseTypeName) {
      checkFieldName(args.name, args.databaseTypeName, args.shouldThrow);
    } else {
      for (let i = 0, types = Object.keys(DatabaseTypes); i < types.length; i++) {
        checkFieldName(args.name, DatabaseTypes[types[i]], args.shouldThrow);
      }
    }
  }
docs: Checks for reserved field name.
  @param args an object having as keys: name, databaseTypeName and shouldThrow