There are easier ways to compare instances and their class. This requires using a lot of internal data and having an exact knowledge of how get_verbose() works.