Check if the specified class is either the same as, or is a superclass of the provided class.