code: def enable_validation(is_validate: bool) -> None:
      global _VALIDATION_ENABLED
      _VALIDATION_ENABLED = is_validate
  
file_path: pyro/pyro/poutine/util.py
imports: from typing import TYPE_CHECKING, List, Optional
  from pyro import settings
label_desc: Use image node_id 1 for calling a global function with example usage: enable_validation(is_validate) without return types