code: func (m *CoreOSMachine) State() (state MachineState) {
  	m.RLock()
  	defer m.RUnlock()
  
  	if m.dynamicState == nil {
  		state = MachineState(m.staticState)
  	} else {
  		state = stackState(m.staticState, *m.dynamicState)
  	}
  
  	return
  }
docs: // State returns a MachineState object representing the CoreOSMachine's
  // static state overlaid on its dynamic state at the time of execution.