def test_contains(self):
        cache = TreeCache()
        cache[("a",)] = "A"
        self.assertTrue(("a",) in cache)
        self.assertFalse(("b",) in cache)
dataset/ETHPy150Open matrix-org/synapse/tests/util/test_treecache.py/TreeCacheTestCase.test_contains/original