MenuButton.getPrimary

bool getPrimary()

Returns whether the menu button acts as a primary menu.

Returns

true if the button is a primary menu