/**
 * Function to check if a given species is present in a list of animals.
 *
 * @param animal A list of strings representing different animal species
 * @param species The species to check for
 * @return Returns true if the species is present in the list, false otherwise
 */
fun checkAnimalSpecies(animal: List<String>, species: String): Boolean {

    var present = false

    for (animalSpecies in animal) {
        if (animalSpecies == species) {
            present = true
            break
        }
    }

    return present
}
/**
 * Function to check if a given species is present in a list of animals.
 *
 * @param animal A list of strings representing different animal species
 * @param species The species to check for
 * @return Returns true if the species is present in the list, false otherwise
 */
fun checkAnimalSpecies(animal: List<String>, species: String): Boolean {
/**
 * Function to check if a given species is present in a list of animals.
 *
 * @param animal A list of strings representing different animal species
 * @param species The species to check for
 * @return Returns true if the species is present in the list, false otherwise
 */
fun checkAnimalSpecies(animal: List<String>, species: String): Boolean {

    var present = false

    for (animalSpecies in animal) {
        if (animalSpecies == species) {
            present = true
            break
        }
    }

    return present
}