code: def _hascode(object):
      """True if object has an attribute that stores it's __code__"""
      return getattr(object, "__code__", None) or getattr(
          object, "func_code", None
      )
  
imports: import linecache
  import re
  from inspect import getblock, getfile, getmodule, getsourcefile, indentsize, isbuiltin, isclass, iscode, isframe, isfunction, ismethod, ismodule, istraceback
  from tokenize import TokenError
  from ._dill import IS_IPYTHON
label_desc: Use image node_id 8 for calling a global function with example usage: _hascode(object) and returns: unknown