Added static method to check for class mappings

First time contributing, hope everything's cool.

FML does this kind of check using reflections, if this gets merged I believe we should update that aswell.