code: def test_true_for_namedtuple_with_fields(self):
      HasFields = collections.namedtuple(
          "HasFields", ["a", "b"]
      )  # pylint: disable=invalid-name
      has_fields = HasFields(a=1, b=2)
      self.assertTrue(util.is_namedtuple_like(has_fields))
  
imports: import collections
  import warnings
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import lognormal
  from tensorflow_probability.python.distributions import mvn_tril
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.mcmc.internal import util
label_desc: Use image node_id 2 for calling the IsNamedTupleLikeTest obj's underlying member method code with example usage: obj.test_true_for_namedtuple_with_fields() without return types