code: def test_is_calibrated(self):
      calibrated_kernel = test_fixtures.TestTransitionKernel()
      uncalibrated_kernel = test_fixtures.TestTransitionKernel(
          is_calibrated=False
      )
      calibrated_discarder = (
          sample_discarding_kernel.SampleDiscardingKernel(
              calibrated_kernel
          )
      )
      uncalibrated_discarder = (
          sample_discarding_kernel.SampleDiscardingKernel(
              uncalibrated_kernel
          )
      )
      self.assertTrue(calibrated_discarder.is_calibrated)
      self.assertFalse(uncalibrated_discarder.is_calibrated)
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.experimental.mcmc import covariance_reducer
  from tensorflow_probability.python.experimental.mcmc import sample_discarding_kernel
  from tensorflow_probability.python.experimental.mcmc import with_reductions
  from tensorflow_probability.python.experimental.mcmc.internal import test_fixtures
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 6 for calling the SampleDiscardingTest obj's underlying member method code with example usage: obj.test_is_calibrated() without return types