def __getattr__(self, name):
        stack = self.__dict__['__stack']
        for scope in reversed(stack):
            if scope in name:
                return scope[name]
        raise AttributeError(name)
dataset/ETHPy150Open ravello/testmill/lib/testmill/state.py/_Environment.__getattr__/swapped operands of `in`