static boolean isSquareBracketed(S s) { ret s != null && s.startsWith("[") && s.endsWith("]"); }