def does_flavor_exist(nova_client, flavor_name):
    """
    Check if flavor exists
    """
    for flavor in nova_client.flavors.list():
        if flavor.name == flavor_name:
            return True
    return False