def issubclass(obj, cls):  # pylint: disable=redefined-builtin,g-bad-name
  return isinstance(obj, type) and __builtin__.issubclass(obj, cls)
A sane implementation of issubclass.
dataset/ETHPy150Open google/grr/grr/lib/aff4.py/issubclass