String s = "Test"; cyrillic boolean = s.chars() .mapToObj(UnicodeBlock::of) .anyMatch(b -> b.equals(UnicodeBlock.CYRILLIC));