class_docstr: Can a function.
class_docstr_tok: ["Can","a","function","."]
code: def _check_type(self, obj):
      assert isinstance(obj, FunctionType), "Not a function type"
  
imports: import typing
  import warnings
  import copy
  import pickle
  import sys
  from types import FunctionType
  from ipyparallel.serialize import codeutil
  from traitlets.log import get_logger
  from traitlets.utils.importstring import import_item
label_desc: Use image node_id 2 for calling the CannedFunction obj's underlying member method code with example usage: obj._check_type(obj) without return types