code: def test_flags_singleton(self):
      flags.config().test_only_experiment_1.reset(False)
      self.assertFalse(flags.config().test_only_experiment_1.value())
  
      # Get second reference to underlying Flags singleton.
      flag = flags.flags_pybind.Flags()
      flag.test_only_experiment_1.reset(True)
  
      # check that both references are correctly updated.
      self.assertTrue(flags.config().test_only_experiment_1.value())
      self.assertTrue(flag.test_only_experiment_1.value())
  
imports: from tensorflow.core.config import flags
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the FlagsTest obj's underlying member method code with example usage: obj.test_flags_singleton() without return types