/**
 * This function checks whether an outfit designed by a fashion designer is considered viable or not.
 * The outfit map contains keys such as "season", "budget", "color_scheme", "accessories", and "occasion".
 *
 * @param outfit A map representing the outfit's properties.
 * @return True if the outfit is considered viable, False otherwise.
 */
fun findOutfitViability(outfit: Map<String, Any>): Boolean {

    // Check if the outfit's season is appropriate
    if (outfit["season"] == "summer" || outfit["season"] == "fall") {
        // Check if the budget is within a specific range
        if (outfit["budget"] as Int in 1000..2000) {
            // Check if the color scheme is suitable
            if (outfit["color_scheme"] == "neutral") {
                // Check if the outfit has appropriate accessories
                if (outfit["accessories"] == "minimal") {
                    // Check if the occasion is casual
                    if (outfit["occasion"] == "casual") {
                        return true
                    } else {
                        return false
                    }
                } else {
                    return false
                }
            } else {
                return false
            }
        } else {
            return false
        }
    }
    return false
}
/**
 * This function checks whether an outfit designed by a fashion designer is considered viable or not.
 * The outfit map contains keys such as "season", "budget", "color_scheme", "accessories", and "occasion".
 *
 * @param outfit A map representing the outfit's properties.
 * @return True if the outfit is considered viable, False otherwise.
 */
fun findOutfitViability(outfit: Map<String, Any>): Boolean {
/**
 * This function checks whether an outfit designed by a fashion designer is considered viable or not.
 * The outfit map contains keys such as "season", "budget", "color_scheme", "accessories", and "occasion".
 *
 * @param outfit A map representing the outfit's properties.
 * @return True if the outfit is considered viable, False otherwise.
 */
fun findOutfitViability(outfit: Map<String, Any>): Boolean {

    // Check if the outfit's season is appropriate
    if (outfit["season"] == "summer" || outfit["season"] == "fall") {
        // Check if the budget is within a specific range
        if (outfit["budget"] as Int in 1000..2000) {
            // Check if the color scheme is suitable
            if (outfit["color_scheme"] == "neutral") {
                // Check if the outfit has appropriate accessories
                if (outfit["accessories"] == "minimal") {
                    // Check if the occasion is casual
                    if (outfit["occasion"] == "casual") {
                        return true
                    } else {
                        return false
                    }
                } else {
                    return false
                }
            } else {
                return false
            }
        } else {
            return false
        }
    }
    return false
}