code: def _check_type(self, obj):
      assert isinstance(obj, class_type), "Not a class type"
  
imports: import warnings
  import copy
  import sys
  from types import FunctionType
  from ipython_genutils import py3compat
  from ipython_genutils.importstring import import_item
  from ipython_genutils.py3compat import string_types, iteritems, buffer_to_bytes, buffer_to_bytes_py2
  from traitlets.log import get_logger
label_desc: Use image node_id 2 for calling the CannedClass obj's underlying member method code with example usage: obj._check_type(obj) without return types