public static boolean hasUpperCaseChar(@NotNull String s) {
      char[] chars = s.toCharArray();
      for (char c : chars) {
          if (Character.isUpperCase(c)) {
              return true;
          }
      }
      return false;
  }
public static boolean hasUpperCaseChar(@NotNull String s)