boolean (int codePoint) { if (!Character.isValidCodePoint(codePoint)) { return false; } Character.UnicodeBlock block = Character.UnicodeBlock.of(codePoint); if (block == null) { return false; } return FULLWIDTH_BLOCKS.contains(block); }