src/Navigation.php
public function has($key)
    {
        $menu = $this->getMenu($key);

        return !is_null($menu) && $menu->count() > 0;
    }
public function has($key)
    {
        $menu = $this->getMenu($key);

        return !is_null($menu) && $menu->count() > 0;
    }
public function has ( $ key ) { $ menu = $ this -> getMenu ( $ key ) ; return ! is_null ( $ menu ) && $ menu -> count ( ) > 0 ; }
Check if there are navigation items.

@param string $key

@return Menu
Check if there are navigation items .