code: def _is_unconstrained(constraint):
      # Unwrap constraints.independent.
      while hasattr(constraint, "base_constraint"):
          constraint = constraint.base_constraint
      return constraint == constraints.real
  
imports: from abc import ABC, abstractmethod
  from typing import Callable, Dict, Optional, Union
  import torch
  from torch.distributions import constraints
  import pyro.distributions
  import pyro.poutine
  from .loc_scale import LocScaleReparam
  from .projected_normal import ProjectedNormalReparam
  from .reparam import Reparam
  from .softmax import GumbelSoftmaxReparam
  from .stable import LatentStableReparam, StableReparam, SymmetricStableReparam
  from .transform import TransformReparam
label_desc: Use image node_id 3 for calling a global function with example usage: _is_unconstrained(constraint) and returns: unknown