/**
 * Takes a dancer as input and returns true if the dancer has only one leg, false otherwise.
 */
fun hasOneLeg(dancer: Map<String, List<String>>): Boolean {

    return dancer["legs"]?.size == 1
}
/**
 * Takes a dancer as input and returns true if the dancer has only one leg, false otherwise.
 */
fun hasOneLeg(dancer: Map<String, List<String>>): Boolean {
/**
 * Takes a dancer as input and returns true if the dancer has only one leg, false otherwise.
 */
fun hasOneLeg(dancer: Map<String, List<String>>): Boolean {

    return dancer["legs"]?.size == 1
}