/**
 * This function checks if the veterinarian is available at a certain day and time.
 *
 * @param vetName The name of the veterinarian.
 * @param daysAvailable A nested list where each inner list represents the availability of the veterinarian for a specific day.
 * @return True if the veterinarian is available, False otherwise.
 */
fun appointmentCheck(vetName: String, daysAvailable: List<List<Boolean>>): Boolean {

    for (day in daysAvailable) {
        val availability = day.all { it }
        if (availability) {
            return true
        }
    }
    return false
}
/**
 * This function checks if the veterinarian is available at a certain day and time.
 *
 * @param vetName The name of the veterinarian.
 * @param daysAvailable A nested list where each inner list represents the availability of the veterinarian for a specific day.
 * @return True if the veterinarian is available, False otherwise.
 */
fun appointmentCheck(vetName: String, daysAvailable: List<List<Boolean>>): Boolean {
/**
 * This function checks if the veterinarian is available at a certain day and time.
 *
 * @param vetName The name of the veterinarian.
 * @param daysAvailable A nested list where each inner list represents the availability of the veterinarian for a specific day.
 * @return True if the veterinarian is available, False otherwise.
 */
fun appointmentCheck(vetName: String, daysAvailable: List<List<Boolean>>): Boolean {

    for (day in daysAvailable) {
        val availability = day.all { it }
        if (availability) {
            return true
        }
    }
    return false
}