The current implementation is patterned off of how `is_utf8()` works, which was modified to its current incarnation after performance testing. I am curious as to what the performance impact of using your suggestion is.