code: def repl_list(sd):
      x = sd["x"]
      if isinstance(x, list):
          return x
      else:
          return (list, x)
  
file_path: dask/dask/tests/test_rewrite.py
imports: from __future__ import annotations
  from dask.rewrite import VAR, RewriteRule, RuleSet, Traverser, args, head
  from dask.utils_test import add, inc
label_desc: Use image node_id 5 for calling a global function with example usage: repl_list(sd) and returns: x, list,  x