def METHOD_NAME(sls_network, name):
    network_hardware_subnet = None
    for subnet in sls_network["ExtraProperties"]["Subnets"]:
        if subnet["Name"] == name:
            network_hardware_subnet = subnet
            break
    return  network_hardware_subnet