code: def foo(x):
      def bar(y):
          return squared(x) + y
  
      return bar
  
imports: from dill.detect import baditems, badobjects, badtypes, errors, parent, at, globalvars
  from dill import settings
  from dill._dill import IS_PYPY
  from pickle import PicklingError
  import inspect
  import sys
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: foo(x) and returns: bar, unknown