Sort:  

Steem-state is the state machine, the rest of the logic and using that state as a control mechanism is custom.