def test(self):
        if self.root._state != "Pre final state":
            self.root._state = "Pre final state"
        else:
            self.root._state = "Final state"
Updating state. Must be called twice to reach final state.
dataset/ETHPy150Open circuits/circuits/tests/core/test_complete.py/Nested3.test