src/Zicht/Bundle/MenuBundle/Provider/DatabaseMenuProvider.php
public function has($name, array $options = array())
    {
        $root = $this->builder->hasRootItemByName($name, $this->container->get('request_stack')->getCurrentRequest());

        return null !== $root;
    }
public function has($name, array $options = array())
    {
        $root = $this->builder->hasRootItemByName($name, $this->container->get('request_stack')->getCurrentRequest());

        return null !== $root;
    }
public function has ( $ name , array $ options = array ( ) ) { $ root = $ this -> builder -> hasRootItemByName ( $ name , $ this -> container -> get ( 'request_stack' ) -> getCurrentRequest ( ) ) ; return null !== $ root ; }
Checks whether a menu exists in this provider

@param string $name
@param array $options
@return bool
Checks whether a menu exists in this provider