(self, subclass)
Check whether the given class is a subclass of this class.

        If the given object is not an Objective-C class, :class:`TypeError` is raised.

        This method allows using :class:`ObjCClass`\\es as the second argument of :func:`issubclass`:
        ``issubclass(cls, NSValue)`` is equivalent to ``obj.isSubclassOfClass(NSValue)``.
Check whether the given class is a subclass of this class.
Check whether the given class is a subclass of this class .
def __subclasscheck__(self, subclass):
        """Check whether the given class is a subclass of this class.

        If the given object is not an Objective-C class, :class:`TypeError` is raised.

        This method allows using :class:`ObjCClass`\\es as the second argument of :func:`issubclass`:
        ``issubclass(cls, NSValue)`` is equivalent to ``obj.isSubclassOfClass(NSValue)``.
        """

        if isinstance(subclass, ObjCClass):
            return bool(subclass.isSubclassOfClass(self))
        else:
            raise TypeError(
                'issubclass(X, {self!r}) arg 1 must be an ObjCClass, not {tp.__module__}.{tp.__qualname__}'
                .format(self=self, tp=type(subclass))
            )
def __subclasscheck__ ( self , subclass ) : if isinstance ( subclass , ObjCClass ) : return bool ( subclass . isSubclassOfClass ( self ) ) else : raise TypeError ( 'issubclass(X, {self!r}) arg 1 must be an ObjCClass, not {tp.__module__}.{tp.__qualname__}' . format ( self = self , tp = type ( subclass ) ) )