def _verify_subnet_association(route_table_desc, subnet_id):
    if route_table_desc:
        if 'associations' in route_table_desc:
            for association in route_table_desc['associations']:
                if association['subnet_id'] == subnet_id:
                    return True
    return False
Helper function verify a subnet's route table association
dataset/ETHPy150Open saltstack/salt/salt/states/boto_vpc.py/_verify_subnet_association