/**
 * Given a dictionary of farm animals and a specific animal,
 * check if the specified animal is present on the farm.
 *
 * @param farmAnimals A dictionary containing farm animals as keys and their quantities as values.
 * @param animal The animal to check if it is present on the farm.
 * @return True if the specified animal is present on the farm, False otherwise.
 */
fun isFarmAnimalPresent(farmAnimals: Map<String, Int>, animal: String): Boolean {

    // Check if the animal is not present on the farm
    return animal !in farmAnimals
}
/**
 * Given a dictionary of farm animals and a specific animal,
 * check if the specified animal is present on the farm.
 *
 * @param farmAnimals A dictionary containing farm animals as keys and their quantities as values.
 * @param animal The animal to check if it is present on the farm.
 * @return True if the specified animal is present on the farm, False otherwise.
 */
fun isFarmAnimalPresent(farmAnimals: Map<String, Int>, animal: String): Boolean {
/**
 * Given a dictionary of farm animals and a specific animal,
 * check if the specified animal is present on the farm.
 *
 * @param farmAnimals A dictionary containing farm animals as keys and their quantities as values.
 * @param animal The animal to check if it is present on the farm.
 * @return True if the specified animal is present on the farm, False otherwise.
 */
fun isFarmAnimalPresent(farmAnimals: Map<String, Int>, animal: String): Boolean {

    // Check if the animal is not present on the farm
    return animal !in farmAnimals
}