/**
 * This function checks if any furniture of a specific type is present in the given list.
 *
 * @param furnitureList A list of furniture items.
 * @param furnitureType The type of furniture to be checked.
 * @return True if any furniture of the given type is present, False otherwise.
 */
fun isFurniturePresent(furnitureList: List<Map<String, String>>, furnitureType: String): Boolean {

    return furnitureList.any { it["type"] == furnitureType }
}
/**
 * This function checks if any furniture of a specific type is present in the given list.
 *
 * @param furnitureList A list of furniture items.
 * @param furnitureType The type of furniture to be checked.
 * @return True if any furniture of the given type is present, False otherwise.
 */
fun isFurniturePresent(furnitureList: List<Map<String, String>>, furnitureType: String): Boolean {
/**
 * This function checks if any furniture of a specific type is present in the given list.
 *
 * @param furnitureList A list of furniture items.
 * @param furnitureType The type of furniture to be checked.
 * @return True if any furniture of the given type is present, False otherwise.
 */
fun isFurniturePresent(furnitureList: List<Map<String, String>>, furnitureType: String): Boolean {

    return furnitureList.any { it["type"] == furnitureType }
}