def METHOD_NAME(ingress):
    qds = [
        x
        for x in ingress.ipr.get_qdiscs()
        if x['index'] == ingress.default_interface.index
    ]
    # assert the list is not empty
    assert qds
    # assert there is the ingress queue
    for qd in qds:
        if qd.get_attr('TCA_KIND') == 'ingress':
            # assert it has proper handle and parent
            assert qd['handle'] == 0xFFFF0000
            assert qd['parent'] == TC_H_INGRESS
            break
    else:
        raise Exception('no ingress qdisc found')