code: def _is_real_support(support):
      if isinstance(
          support, pyro.distributions.constraints.independent
      ):
          return _is_real_support(support.base_constraint)
      else:
          return support in [constraints.real, constraints.real_vector]
  
imports: import warnings
  from collections import OrderedDict
  from functools import partial
  from torch.distributions import biject_to, constraints
  from torch.nn import Parameter
  import pyro
  import pyro.distributions
  from pyro.distributions.util import eye_like
  from pyro.nn.module import PyroModule, PyroParam, PyroSample, pyro_method
label_desc: Use image node_id 1 for calling a global function with example usage: _is_real_support(support) and returns: _is_real_support, unknown