static bool isSubtypeOf(Class a, Class b) { ret b.isAssignableFrom(a); // << always hated that method, let's replace it! }