def is_shown(self, request):
        for menuitem in self.menu._registered_menu_items:
            if menuitem.is_shown(request):
                return True
        return False
Remove multiple nodes.
dataset/ETHPy150Open torchbox/wagtail/wagtail/contrib/modeladmin/menus.py/GroupMenuItem.is_shown--crossover with--dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/classes/graph.py/Graph.remove_nodes_from