code: def flatten_list(ll: List):
      """
      Input: Nested lists
      Output: Flattened input
      """
      return (
          sum(map(flatten_list, ll), [])
          if isinstance(ll, list)
          else [ll]
      )
  
imports: import json
  import os
  import shlex
  import subprocess
  import uuid
  import zstandard
  from typing import Any, Callable, Dict, List, Optional, TypeVar
  from concurrent.futures import ThreadPoolExecutor, ProcessPoolExecutor
  from tqdm import tqdm
  import pyhocon
  from dataclasses import asdict, is_dataclass
  from helm.common.hierarchical_logger import hlog, htrack, htrack_block
label_desc: Use image node_id 2 for calling a global function with example usage: flatten_list(ll) and returns: unknown