/**
 * A farmer wants to verify if he has the license to own certain animal species on his farm.
 * The function takes two sets as arguments: animalSpecies (set of animal names) and farmerLicense (set of allowed animal names).
 * It returns true if the farmer has the license to own all the animal species mentioned, otherwise it returns false.
 */
fun verifyFarmersLicense(animalSpecies: Set<String>, farmerLicense: Set<String>): Boolean {

    // Check if the intersection between the animalSpecies and farmerLicense sets is not empty
    if (animalSpecies.intersect(farmerLicense).isNotEmpty()) {
        // Check if the farmer has the license for all animal species
        return animalSpecies == farmerLicense
    } else {
        // Farmer does not have any of the mentioned animal species
        return false
    }
}
/**
 * A farmer wants to verify if he has the license to own certain animal species on his farm.
 * The function takes two sets as arguments: animalSpecies (set of animal names) and farmerLicense (set of allowed animal names).
 * It returns true if the farmer has the license to own all the animal species mentioned, otherwise it returns false.
 */
fun verifyFarmersLicense(animalSpecies: Set<String>, farmerLicense: Set<String>): Boolean {
/**
 * A farmer wants to verify if he has the license to own certain animal species on his farm.
 * The function takes two sets as arguments: animalSpecies (set of animal names) and farmerLicense (set of allowed animal names).
 * It returns true if the farmer has the license to own all the animal species mentioned, otherwise it returns false.
 */
fun verifyFarmersLicense(animalSpecies: Set<String>, farmerLicense: Set<String>): Boolean {

    // Check if the intersection between the animalSpecies and farmerLicense sets is not empty
    if (animalSpecies.intersect(farmerLicense).isNotEmpty()) {
        // Check if the farmer has the license for all animal species
        return animalSpecies == farmerLicense
    } else {
        // Farmer does not have any of the mentioned animal species
        return false
    }
}