code: def apply(function, args, kwargs={}):
      return function(*args, **kwargs)
  
imports: import contextlib
  import functools
  import inspect
  import weakref
  from collections import OrderedDict
  from funsor.registry import PartialDispatcher
  from funsor.util import methodof
label_desc: Use image node_id 1 for calling a global function with example usage: apply(function, args, kwargs) and returns: function