code: def val2list(
      x: Union[list[Any], tuple[Any, ...], Any], repeat_time: int = 1
  ) -> list[Any]:
      if isinstance(x, (list, tuple)):
          return list(x)
      return [x for _ in range(repeat_time)]
  
label_desc: Use image node_id 1 for calling a global function with example usage: val2list(x, repeat_time) and returns: unknown, list