public function isValidForRootNode(Route $annotation)
    {
        if (!$annotation->name) {
            return false;
        }

        if (!$annotation->route) {
            return false;
        }

        return true;
    }