Currently I'm using extract<T>::check() over a bunch of different types to decide what to do with python objects. Is there any way to inspect the type directly?

A