I have a module that loads some services, then gets some methods and checks if those are valid. One part of this check is making sure that the method parameter is a subtype