hasSubclasses

hasSubclasses(): Boolean;

The hasSubclasses method of the Class class returns true if the class has subclasses.