Use isinstance() instead of type identity comparison
type identity should be avoided because it does not check for inheritance
Staging instance, all changes can be removed at any time
type identity should be avoided because it does not check for inheritance