What's wrong with `isinstance`?