set_show_toggle() determines whether the toggle indicator should be visible at all times, or only when the menu item is active.
The default setting is false.