def METHOD_NAME(instance, context) -> models.Organization:
    organization = (
        instance.organization if hasattr(instance, "organization") else instance
    )
    if not organization.organization_users.filter(
        is_admin=True, user__id=context.request.user.id
    ).exists():
        raise exceptions.PermissionDenied()
    return instance