public function hasNamespaces() { return $this->index->export()->query('count(//phpdox:namespace[not(@name="/")])') > 0; }