code: def checked_cast_list(typ: Type[T], old_l: List[V]) -> List[T]:
      """Calls checked_cast on all items in a list."""
      new_l = []
      for val in old_l:
          val = checked_cast(typ, val)
          new_l.append(val)
      return new_l
  
file_path: Ax/ax/utils/common/typeutils.py
imports: from inspect import signature
  from typing import Any, Dict, List, Optional, Tuple, Type, TypeVar
  import numpy
  from typeguard import check_type
label_desc: Use image node_id 4 for calling a global function with example usage: checked_cast_list(typ, old_l) and returns: new_l