Path 1: 4 calls (1.0)
→ item 'foo' (3) 'foos' (1)
↩ return False (2) True (2)
1def __contains__(self, item: str) -> bool: 2 return item in self.__dict__