/** * Checks whether filter with given name is defined. * * @param string $name Name of the filter. * @return bool true if the filter exists, false if not. */ public function has($name) { return null !== $this->config->getFilterClassName($name); }