def METHOD_NAME(event: Event, info):
    user = info.context.user
    if user.memberships.filter(organization=event.organization).exists() or user.is_superuser:
        return resolver(event, info)
    else:
        raise PermissionDenied(
            f"Du må være medlem av foreningen {event.organization.name} for å gjøre dette kallet"
        )