Feature/state transition machine

yes. There is a method called `allowCycles`