Returns the checked state of the toggle action.
the action object
the checked state of the toggle action