/**
 * This function takes in an athlete's dictionary and a sport name and returns whether the athlete is currently
 * participating in that sport or not, based on the dictionary.
 *
 * @param athlete The athlete dictionary containing their sports information.
 * @param sport The sport name to check participation for.
 * @return A boolean value indicating whether the athlete is participating in the given sport or not.
 */
fun getAthleteSportsInfo(athlete: Map<String, String>, sport: String): Boolean {

    // Checking if the sport key exists or not in the dictionary
    return sport in athlete || athlete[sport] != null
}
/**
 * This function takes in an athlete's dictionary and a sport name and returns whether the athlete is currently
 * participating in that sport or not, based on the dictionary.
 *
 * @param athlete The athlete dictionary containing their sports information.
 * @param sport The sport name to check participation for.
 * @return A boolean value indicating whether the athlete is participating in the given sport or not.
 */
fun getAthleteSportsInfo(athlete: Map<String, String>, sport: String): Boolean {
/**
 * This function takes in an athlete's dictionary and a sport name and returns whether the athlete is currently
 * participating in that sport or not, based on the dictionary.
 *
 * @param athlete The athlete dictionary containing their sports information.
 * @param sport The sport name to check participation for.
 * @return A boolean value indicating whether the athlete is participating in the given sport or not.
 */
fun getAthleteSportsInfo(athlete: Map<String, String>, sport: String): Boolean {

    // Checking if the sport key exists or not in the dictionary
    return sport in athlete || athlete[sport] != null
}