/**
 * This function takes in a dictionary representing an architect and returns the years of experience.
 *
 * @param architect A dictionary representing an architect with their name, age, and experience.
 * @return The number of years of experience of the architect.
 */
fun retrieveArchitectExperience(architect: Map<String, Any>): Int {

    return if (architect.containsKey("experience") && architect["experience"] is Int) {
        architect["experience"] as Int
    } else {
        0
    }
}
/**
 * This function takes in a dictionary representing an architect and returns the years of experience.
 *
 * @param architect A dictionary representing an architect with their name, age, and experience.
 * @return The number of years of experience of the architect.
 */
fun retrieveArchitectExperience(architect: Map<String, Any>): Int {
/**
 * This function takes in a dictionary representing an architect and returns the years of experience.
 *
 * @param architect A dictionary representing an architect with their name, age, and experience.
 * @return The number of years of experience of the architect.
 */
fun retrieveArchitectExperience(architect: Map<String, Any>): Int {

    return if (architect.containsKey("experience") && architect["experience"] is Int) {
        architect["experience"] as Int
    } else {
        0
    }
}