Queries a ToggleButton and returns its current state.
Returns true if the toggle button is pressed in and false if it is raised.
a ToggleButton.
a bool value.