def get_zones():
    return Domain.objects.filter(~Q(master_domain__soa=F('soa')),
                                 soa__isnull=False)
Pops trigger and trigger args from a given dict.
dataset/ETHPy150Open mozilla/inventory/mozdns/utils.py/get_zones--crossover with--dataset/ETHPy150Open viniciuschiele/flask-apscheduler/flask_apscheduler/utils.py/pop_trigger