code: def validate_map_dict(map_dict: TMapDict) -> None:
      for key, value in map_dict.items():
          if not isinstance(key, str):
              raise TypeError(
                  f"Keys must be strings in TMapDict, found {key}."
              )
  
          if not isinstance(value, Hashable):
              raise TypeError(
                  f"Values must be Hashable in TMapDict, found {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 7 for calling a global function with example usage: validate_map_dict(map_dict) without return types