/**
 * This function checks if an artist is currently on tour based on the given list of tours.
 *
 * @param artist The name of the artist.
 * @param tours A list of tours, each represented by a pair containing the artist's name and the tour status.
 * @return True if the artist is on tour, False otherwise.
 */
fun isOnTour(artist: String, tours: List<Pair<String, String>>): Boolean {

    for (tour in tours) {
        if (tour.first == artist && tour.second == "On Tour") {
            return true
        }
    }
    return false
}
/**
 * This function checks if an artist is currently on tour based on the given list of tours.
 *
 * @param artist The name of the artist.
 * @param tours A list of tours, each represented by a pair containing the artist's name and the tour status.
 * @return True if the artist is on tour, False otherwise.
 */
fun isOnTour(artist: String, tours: List<Pair<String, String>>): Boolean {
/**
 * This function checks if an artist is currently on tour based on the given list of tours.
 *
 * @param artist The name of the artist.
 * @param tours A list of tours, each represented by a pair containing the artist's name and the tour status.
 * @return True if the artist is on tour, False otherwise.
 */
fun isOnTour(artist: String, tours: List<Pair<String, String>>): Boolean {

    for (tour in tours) {
        if (tour.first == artist && tour.second == "On Tour") {
            return true
        }
    }
    return false
}