code: def _get_support_value_distribution(funsor_dist, name, expand=False):
      assert name == funsor_dist.value.name
      return funsor_dist.enumerate_support(expand=expand)
  
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 5 for calling a global function with example usage: _get_support_value_distribution(funsor_dist, name, expand) and returns: funsor_dist