code: protected static boolean isNameValid(String name) {
      Preconditions.checkNotNull(name);
      name = name.toLowerCase();
      return VALID_DB_TABLE_NAME_PATTERN_1.matcher(name).matches()
          && VALID_DB_TABLE_NAME_PATTERN_2.matcher(name).matches();
    }
docs: Determine whether a database or table name is valid.
  
  A name is valid if and only if: it starts with an alphanumeric character, contains only alphanumeric characters
  and '_', and is NOT composed of numbers only.