def METHOD_NAME(self):
    # Valid __contains__ for all names.
    for name in self.REGISTRY:
        self.assertTrue(name in self.REGISTRY)
        self.assertFalse(name not in self.REGISTRY)
    # Invalid __contains__ for non-name.
    self.assertTrue("I do not exist" not in self.REGISTRY)