Simplify isStateChangePermitted()