MenuBarComponent/Model: how to disable (grey-out) individual menu?

Hi all, I’m in the process of adding a menu bar to our standalone app (using MenuBarComponent & MenuBarModel as shown in the “menu demo” from the JUCE demo runner).

I was wondering: is there a way to selectively disable/grey-out an individual menu (not the entire menu bar)?
Basically I want to check some condition such as “is widget X of the UI focused?” and enable or disable “menu for widget X” accordingly.

I know how to remove that specific menu altogether (via MainComponent::getMenuBarNames and MainComponent::getMenuForIndex) but I couldn’t find a way to just disable the menu without removing it.