PERF: use fastpath for is_categorical_dtype calls
This doesn't get all of them
lgtm. once we have merged these is_* fixes should benchmark with the hash that @TomAugspurger started with (or in theory the asv graphs will do this for us).