It is less complicated to let *setRestricted* return requires restart.
*willRequireRestart* contains part of the logic in *setRestricted*, this is easily forgotten when changing the logic in *setRestricted*.