@staticmethod
    def _get_node_state(state, started, action):
        try:
            return NODE_STATE_MAP[(state, started, action)]
        except __HOLE__:
            if started == 'true':
                return NodeState.RUNNING
            else:
                return NodeState.TERMINATED
dataset/ETHPy150Open apache/libcloud/libcloud/compute/drivers/dimensiondata.py/DimensionDataNodeDriver._get_node_state