code: def while_loop(test_fn, body_fn, vars):
      if isinstance(vars, dict):
          result = list(vars.values())
      else:
          result = list(vars)
      while test_fn(*result) is True:
          result = body_fn(*result)
          if not isinstance(result, tuple):
              result = (result,)
      return result
  
label_desc: Use image node_id 2 for calling a global function with example usage: while_loop(test_fn, body_fn, vars) and returns: result