/**
 * This exercise tests the skill of a veterinarian in handling different animals.
 * Given a list of animals, the veterinarian should check if each animal is healthy or not.
 * If any unhealthy animal is encountered, the veterinarian should stop the loop and return false.
 * Otherwise, if all the animals are healthy, the veterinarian should return true.
 *
 * @param vetName The name of the veterinarian
 * @param animals A list of animals to be checked
 * @return true if all animals are healthy, false otherwise
 */
fun assertVeterinarianSkill(vetName: String, animals: List<String>): Boolean {

    val healthyAnimals = listOf("cat", "dog", "bird", "rabbit")

    for (animal in animals) {
        if (animal !in healthyAnimals) {
            return false
        }
    }

    return true
}
/**
 * This exercise tests the skill of a veterinarian in handling different animals.
 * Given a list of animals, the veterinarian should check if each animal is healthy or not.
 * If any unhealthy animal is encountered, the veterinarian should stop the loop and return false.
 * Otherwise, if all the animals are healthy, the veterinarian should return true.
 *
 * @param vetName The name of the veterinarian
 * @param animals A list of animals to be checked
 * @return true if all animals are healthy, false otherwise
 */
fun assertVeterinarianSkill(vetName: String, animals: List<String>): Boolean {
/**
 * This exercise tests the skill of a veterinarian in handling different animals.
 * Given a list of animals, the veterinarian should check if each animal is healthy or not.
 * If any unhealthy animal is encountered, the veterinarian should stop the loop and return false.
 * Otherwise, if all the animals are healthy, the veterinarian should return true.
 *
 * @param vetName The name of the veterinarian
 * @param animals A list of animals to be checked
 * @return true if all animals are healthy, false otherwise
 */
fun assertVeterinarianSkill(vetName: String, animals: List<String>): Boolean {

    val healthyAnimals = listOf("cat", "dog", "bird", "rabbit")

    for (animal in animals) {
        if (animal !in healthyAnimals) {
            return false
        }
    }

    return true
}