Sets the checked state on the toggle action.
whether the action should be checked or not
2.4
See Implementation
Sets the checked state on the toggle action.