presto-main/src/main/java/io/prestosql/execution/StageStateMachine.java/StageStateMachine/getState
class StageStateMachine:    public StageState getState()
    {
        return stageState.get();
    }