def modify(self, request, nodes, namespace, root_id, post_cut, breadcrumb):
        """
        Modify nodes of a menu
        """
        if breadcrumb:
            return nodes
        for node in nodes:
            if node.attr.get('hidden'):
                node.visible = False
        return nodes
Modify nodes of a menu