isclass

Stoner.tools.isclass(obj, cls)[source]

Check whether obj is a class and if so whether it is a subclass of cls.