code: func (f *FSM) Can(event string) bool {
  	f.stateMu.RLock()
  	defer f.stateMu.RUnlock()
  	_, ok := f.transitions[eKey{event, f.current}]
  	return ok && (f.transition == nil)
  }
docs: // Can returns true if event can occur in the current state.