static bool containsSpaces(S s) { ret indexOf(s, ' ') >= 0; }