Yes, there are certainly many uses and abuses for `isinstance`. So in this particular case, what about this use of `isinstance` is code smelly?