

def check(self, request):
    '\n        Evaluate if we should be visible for this request\n        '
    if callable(self.check_func):
        self.visible = self.check_func(request)

dataset/ETHPy150Open borgstrom/django-simple-menu/menu/menu.py MenuItem.check/original