### Question:
Util { static boolean isCharBoundary(String s, int index) { return index == 0 || index == s.length() || s.getBytes()[index] >= -0x40; } private  Util();   }### Answer:
@Test public void testIsCharBoundary() { String s = "Löwe 老虎 Léopard"; assertTrue(isCharBoundary(s, 0)); assertTrue(isCharBoundary(s, 6)); assertTrue(isCharBoundary(s, s.length())); assertFalse(isCharBoundary(s, 2)); assertFalse(isCharBoundary(s, 8)); }