code: def test_bool_gauge(self):
      gauge = monitoring.BoolGauge("test/gauge", "test gauge")
      gauge.get_cell().set(True)
      self.assertTrue(gauge.get_cell().value())
      gauge.get_cell().set(False)
      self.assertFalse(gauge.get_cell().value())
  
      gauge1 = monitoring.BoolGauge(
          "test/gauge1", "test gauge1", "label1"
      )
      gauge1.get_cell("foo").set(True)
      self.assertTrue(gauge1.get_cell("foo").value())
  
file_path: tensorflow/tensorflow/python/eager/monitoring_test.py
imports: import time
  from tensorflow.python.eager import monitoring
  from tensorflow.python.eager import test
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 6 for calling the MonitoringTest obj's underlying member method code with example usage: obj.test_bool_gauge() without return types