code: def test_add_bool_field(self, initial_fields, value, expected):
      field_map = _set_protomap_from_dict(initial_fields)
      struct_utils.add_bool_field(field_map, "field", value)
      self.assertIn("field", field_map)
      self.assertEqual(
          [v.bool_value for v in field_map["field"].values], expected
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  from absl.testing import absltest
  from absl.testing import parameterized
  from third_party.nucleus.protos import struct_pb2
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.util import struct_utils
label_desc: Use image node_id 10 for calling the StructUtilsTest obj's underlying member method code with example usage: obj.test_add_bool_field(initial_fields, value, expected) without return types