Can check if class is subclass of another