def exists(self, path):
        self.calls.append(("exists", path))
        return self.dirs in path or path in self.files
dataset/ETHPy150Open behave/behave/test/test_runner.py/FsMock.exists/swapped operands of `in`