What of negative values of `codePoint`? They return `false` on the JVM, but your code would return `true`.