isSuperOf

public final static Boolean isSuperOf(Class<?> $self, Object obj)(source)

Checks if the receiver of the function is a superclass or superinterface of obj.