code: def _strip_wrapped_partial(fun):
      if hasattr(fun, "__wrapped__"):  # ft.wraps
          return _strip_wrapped_partial(fun.__wrapped__)
      if isinstance(fun, ft.partial):
          return _strip_wrapped_partial(fun.func)
      return fun
  
imports: import functools
  import types
  import warnings
  import weakref
  from collections.abc import Callable
  import jax
  import jax.tree_util
  from jaxtyping import PyTree
  from ._caches import internal_caches
  from ._module import Module
label_desc: Use image node_id 4 for calling a global function with example usage: _strip_wrapped_partial(fun) and returns: fun, _strip_wrapped_partial, _strip_wrapped_partial