The "use banner" button has been added to the menu item settings. In the code, you can use the logical flag $useBanner in order to simplify further checks for banner display.
Note
Update the menu options
After the update, you may need to update the settings of the menu item and enable the "use banner" option.