/**
 * This function takes in a list of crops and a specific crop and checks if the crop is in the list.
 *
 * @param crops A list of crops (strings) grown in the farm.
 * @param crop A string representing the crop to be checked.
 * @return True if the crop is present in the list, False otherwise.
 */
fun checkCrop(crops: List<String>, crop: String): Boolean {

    // Use the 'in' operator to check if the crop is in the list
    return crop in crops
}
/**
 * This function takes in a list of crops and a specific crop and checks if the crop is in the list.
 *
 * @param crops A list of crops (strings) grown in the farm.
 * @param crop A string representing the crop to be checked.
 * @return True if the crop is present in the list, False otherwise.
 */
fun checkCrop(crops: List<String>, crop: String): Boolean {
/**
 * This function takes in a list of crops and a specific crop and checks if the crop is in the list.
 *
 * @param crops A list of crops (strings) grown in the farm.
 * @param crop A string representing the crop to be checked.
 * @return True if the crop is present in the list, False otherwise.
 */
fun checkCrop(crops: List<String>, crop: String): Boolean {

    // Use the 'in' operator to check if the crop is in the list
    return crop in crops
}