private static boolean isQuoted(CharSequence s, char ch) {
    return s.length() >= 2 && s.charAt(0) == ch && s.charAt(s.length() - 1) == ch;
  }
private static boolean isQuoted(CharSequence s, char ch)