public function isVisible(): bool
    {
        if (!empty($this->item['permission'])) {
            return $this->vault->getGuard()->allows($this->item['permission']);
        }

        //Remove :action
        $target = current(explode(':', $this->getTarget()));

        return $this->vault->getGuard()->allows(
            "{$this->vault->getConfig()->guardNamespace()}.{$target}"
        );
    }