helper method for units to test instanceof without needing reference to the class when you're testing (quests)