protected function shouldFilter($key, $isMetaData)
    {
        if ($isMetaData) {
            foreach ($this->config->getFilters() as $filter) {
                if (strpos($key, $filter) !== false) {
                    return true;
                }
            }
        }

        return false;
    }
protected function shouldFilter($key, $isMetaData)
    {
        if ($isMetaData) {
            foreach ($this->config->getFilters() as $filter) {
                if (strpos($key, $filter) !== false) {
                    return true;
                }
            }
        }

        return false;
    }
protected function shouldFilter ( $ key , $ isMetaData ) { if ( $ isMetaData ) { foreach ( $ this -> config -> getFilters ( ) as $ filter ) { if ( strpos ( $ key , $ filter ) !== false ) { return true ; } } } return false ; }
Should we filter the given element.

@param string $key        the associated key
@param bool   $isMetaData if it is meta data

@return bool
Should we filter the given element .