src/Menu/MenuModulesInterpreter.php
protected function isMenuPresenceAlternative(MenuPresenceInterface $presence)
    {
        return  $presence->type() !== MenuPresenceType::ACTION
            &&  $presence->type() !== MenuPresenceType::GROUP
            &&  $presence->type() !== MenuPresenceType::LINK;
    }
protected function isMenuPresenceAlternative(MenuPresenceInterface $presence)
    {
        return  $presence->type() !== MenuPresenceType::ACTION
            &&  $presence->type() !== MenuPresenceType::GROUP
            &&  $presence->type() !== MenuPresenceType::LINK;
    }
protected function isMenuPresenceAlternative ( MenuPresenceInterface $ presence ) { return $ presence -> type ( ) !== MenuPresenceType :: ACTION && $ presence -> type ( ) !== MenuPresenceType :: GROUP && $ presence -> type ( ) !== MenuPresenceType :: LINK ; }
Returns whether a presence instance should be kept separate from the normal menu structure.

@param MenuPresenceInterface $presence
@return bool
Returns whether a presence instance should be kept separate from the normal menu structure .