public function isActive(): bool
    {
        if ($this->isNested()) {
            return str_contains(url()->current(), $this->url);
        }

        return url($this->url) == url()->current();
    }