code: def enable_validation(is_validate):
      global _VALIDATION_ENABLED
      _VALIDATION_ENABLED = is_validate
      torch_dist.Distribution.set_default_validate_args(is_validate)
  
imports: import copy
  import ctypes
  import functools
  import numbers
  import weakref
  from contextlib import contextmanager
  import torch
  import torch.distributions
  from torch import logsumexp
  from torch.distributions.utils import broadcast_all
  from pyro.util import ignore_jit_warnings
  from ..None import settings
label_desc: Use image node_id 14 for calling a global function with example usage: enable_validation(is_validate) without return types