code: def validate_param_value(param_value: TParamValue) -> None:
      if not (
          isinstance(param_value, str)
          or isinstance(param_value, bool)
          or isinstance(param_value, float)
          or isinstance(param_value, int)
          or param_value is None
      ):
          raise TypeError(
              f"Expected None, bool, float, int, or str, found {param_value}"
          )
  
file_path: Ax/ax/core/types.py
imports: import enum
  from typing import Any, Callable, DefaultDict, Dict, Hashable, List, Optional, Tuple, Union
  import numpy
label_desc: Use image node_id 5 for calling a global function with example usage: validate_param_value(param_value) without return types