def can(self, request):
        has_user = hasattr(request, 'user')
        is_staff = False
        if has_user and request.user is not None and request.user.is_staff:
            is_staff = True

        return settings.DEBUG and 'prof' in request.GET and (not has_user or is_staff)