@Contract(pure = true)
  public static boolean isChar(CharSequence seq, int index, char c) {
    return index >= 0 && index < seq.length() && seq.charAt(index) == c;
  }
@Contract(pure = true)
  public static boolean isChar(CharSequence seq, int index, char c)