sbool isSingleLine(S s) {
  ret !containsNewLine(s);
}