/**
 * This function takes a veterinarian's name and specialization as arguments, and returns whether the veterinarian has both
 * a matching name and specialization in the database.
 */
fun findVeterinarian(name: String, specialization: String): Boolean {

    val veterinarians = listOf(
        Pair("Dr. Johnson", "Dogs"),
        Pair("Dr. Smith", "Cats"),
        Pair("Dr. Miller", "Birds")
    )

    for ((vetName, vetSpecialization) in veterinarians) {
        if (name == vetName && specialization == vetSpecialization) {
            return true
        }
    }

    return false
}
/**
 * This function takes a veterinarian's name and specialization as arguments, and returns whether the veterinarian has both
 * a matching name and specialization in the database.
 */
fun findVeterinarian(name: String, specialization: String): Boolean {
/**
 * This function takes a veterinarian's name and specialization as arguments, and returns whether the veterinarian has both
 * a matching name and specialization in the database.
 */
fun findVeterinarian(name: String, specialization: String): Boolean {

    val veterinarians = listOf(
        Pair("Dr. Johnson", "Dogs"),
        Pair("Dr. Smith", "Cats"),
        Pair("Dr. Miller", "Birds")
    )

    for ((vetName, vetSpecialization) in veterinarians) {
        if (name == vetName && specialization == vetSpecialization) {
            return true
        }
    }

    return false
}