returns the state of the "hide all" context menu mode
var isHideAllModeEnabled = myMenu.getContextMenuHideAllMode();