code: def flatten_deep_list(arr):
      if not isinstance(arr, list):
          return [arr]
  
      result = []
      for a in arr:
          result.extend(flatten_deep_list(a))
  
      return result
  
label_desc: Use image node_id 1 for calling a global function with example usage: flatten_deep_list(arr) and returns: result, list