sbool isOneOfSingleChars(S s, char... chars) { if (l(s) != 1) false; char real = s.charAt(0); fOr (char c : chars) if (real == c) true; false; }