def check(self, request):
        if callable(self.check_func):
            self.visible = self.check_func(request)
Evaluate if we should be visible for this request
dataset/ETHPy150Open borgstrom/django-simple-menu/menu/menu.py/MenuItem.check