src/Sulu/Bundle/ResourceBundle/Resource/FilterManager.php
public function hasContext($context)
    {
        if ($this->contextConfiguration && array_key_exists($context, $this->contextConfiguration)) {
            return true;
        }

        return false;
    }
public function hasContext($context)
    {
        if ($this->contextConfiguration && array_key_exists($context, $this->contextConfiguration)) {
            return true;
        }

        return false;
    }
public function hasContext ( $ context ) { if ( $ this -> contextConfiguration && array_key_exists ( $ context , $ this -> contextConfiguration ) ) { return true ; } return false ; }
Checks if the context exists.

@param $context

@return bool
Checks if the context exists .