def METHOD_NAME(self, queryset: QuerySet, name, value):
    """Only return providers that are neither assigned to application,
    both as provider or application provider"""
    return queryset.filter(
        Q(backchannel_application__isnull=value, is_backchannel=True)
        | Q(application__isnull=value)
    )