We could probably use it in this condition as well:

https://github.com/pitr-ch/dynflow/blob/0710021e2918a20ba1f30057902ca926790872af/lib/dynflow/action.rb#L60