code: def _validate_overdispersion(overdispersion):
      if is_validation_enabled():
          if not _all(0 <= overdispersion):
              raise ValueError("Expected overdispersion >= 0")
          if not _all(overdispersion < 2):
              raise ValueError("Expected overdispersion < 2")
  
file_path: pyro/pyro/contrib/epidemiology/distributions.py
imports: import math
  from contextlib import contextmanager
  import torch
  from torch.distributions.utils import broadcast_all
  import pyro.distributions
  from pyro.distributions.util import is_validation_enabled
label_desc: Use image node_id 6 for calling a global function with example usage: _validate_overdispersion(overdispersion) without return types