code: def _get_support_value_contraction(funsor_dist, name, **kwargs):
      delta_terms = [
          v
          for v in funsor_dist.terms
          if isinstance(v, funsor.delta.Delta) and name in v.fresh
      ]
      assert len(delta_terms) == 1
      return _get_support_value(delta_terms[0], name, **kwargs)
  
imports: import functools
  import math
  from collections import OrderedDict
  import funsor
  import torch
  import pyro.poutine.runtime
  import pyro.poutine.util
  from pyro.contrib.funsor.handlers.named_messenger import NamedMessenger
  from pyro.contrib.funsor.handlers.primitives import to_data, to_funsor
  from pyro.contrib.funsor.handlers.replay_messenger import ReplayMessenger
  from pyro.contrib.funsor.handlers.trace_messenger import TraceMessenger
  from pyro.poutine.escape_messenger import EscapeMessenger
  from pyro.poutine.subsample_messenger import _Subsample
label_desc: Use image node_id 2 for calling a global function with example usage: _get_support_value_contraction(funsor_dist, name) and returns: _get_support_value