code: def test_contains(self):
      d = self._empty_mapping()
      self.assertNotIn("a", d)
      self.assertTrue(not ("a" in d))
      self.assertTrue("a" not in d)
      d = self._full_mapping({"a": 1, "b": 2})
      self.assertIn("a", d)
      self.assertIn("b", d)
      self.assertNotIn("c", d)
  
      self.assertRaises(TypeError, d.__contains__)
  
imports: import unittest
  import collections
  from test.support import Py_C_RECURSION_LIMIT
label_desc: Use image node_id 6 for calling the TestMappingProtocol obj's underlying member method code with example usage: obj.test_contains() without return types