Path 1: 4 calls (1.0)

'foo' (3) 'foos' (1)

False (2) True (2)

1def __contains__(self, item: str) -> bool:
2        return item in self.__dict__