code: def testFastdictApis(self):
      module = ChildFastModule("test")
      # At first "bar" does not exist in the module's attributes
      self.assertFalse(module._fastdict_key_in("bar"))
      with self.assertRaisesRegex(
          KeyError, "module has no attribute 'bar'"
      ):
          module._fastdict_get("bar")
  
      module._fastdict_insert("bar", 1)
      # After _fastdict_insert() the attribute is added.
      self.assertTrue(module._fastdict_key_in("bar"))
      self.assertEqual(1, module.bar)
  
file_path: tensorflow/tensorflow/python/util/fast_module_type_test.py
imports: from tensorflow.python.platform import test
  from tensorflow.python.util import fast_module_type
label_desc: Use image node_id 4 for calling the FastModuleTypeTest obj's underlying member method code with example usage: obj.testFastdictApis() without return types