/**
 * Given a photo object, this function returns the location of the photo.
 *
 * @param photo A dictionary representing a photo object with 'location' key.
 * @return The location of the photo.
 */
fun getPhotoLocation(photo: Map<String, Any>): String {

    if (photo.containsKey("location") && photo["location"] is String) {
        return photo["location"] as String
    } else {
        return "Unknown"
    }
}
/**
 * Given a photo object, this function returns the location of the photo.
 *
 * @param photo A dictionary representing a photo object with 'location' key.
 * @return The location of the photo.
 */
fun getPhotoLocation(photo: Map<String, Any>): String {
/**
 * Given a photo object, this function returns the location of the photo.
 *
 * @param photo A dictionary representing a photo object with 'location' key.
 * @return The location of the photo.
 */
fun getPhotoLocation(photo: Map<String, Any>): String {

    if (photo.containsKey("location") && photo["location"] is String) {
        return photo["location"] as String
    } else {
        return "Unknown"
    }
}