public function hasParser($className, $priority)
    {
        if (empty($this->parsers[$priority])) {
            return false;
        }

        return $this->parsers[$priority] === $className;
    }
public function hasParser($className, $priority)
    {
        if (empty($this->parsers[$priority])) {
            return false;
        }

        return $this->parsers[$priority] === $className;
    }
public function hasParser ( $ className , $ priority ) { if ( empty ( $ this -> parsers [ $ priority ] ) ) { return false ; } return $ this -> parsers [ $ priority ] === $ className ; }
Method to check if a certain parser is allready registered

@param string $className
@param int $priority
@return boolean
Method to check if a certain parser is allready registered