def is_selected(self, request):
        current_url = request.get_full_path()
        return self.url == current_url or \
            len([c for c in self.children if c.is_selected(request)]) > 0
Helper method that returns ``True`` if the menu item is active.
dataset/ETHPy150Open django-admin-tools/django-admin-tools/admin_tools/menu/items.py/MenuItem.is_selected