sbool hasExtendedUnicodeCharacters(S s) { int n = l(s)-1; for i to n: if (isExtendedUnicodeCharacter(s, i)) true; false; }