Switch to explicit case matching for is_* functions instead of string.contains. This results in a ~3-5x performance improvement for
those functions.
Switch to explicit `case` matching for `is_*` functions instead of `string.contains`. This results in a ~3-5x performance improvement for
those functions.