/**
 * Check if a specific crop is present in the given list of crops.
 *
 * @param crops List of crops planted by the farmer
 * @param crop Crop name to be checked
 * @return True if the crop is present, False otherwise
 */
fun checkCrop(crops: List<String>, crop: String): Boolean {

    // Check membership using the 'in' operator
    val isPresent = crop in crops
    return isPresent
}
/**
 * Check if a specific crop is present in the given list of crops.
 *
 * @param crops List of crops planted by the farmer
 * @param crop Crop name to be checked
 * @return True if the crop is present, False otherwise
 */
fun checkCrop(crops: List<String>, crop: String): Boolean {
/**
 * Check if a specific crop is present in the given list of crops.
 *
 * @param crops List of crops planted by the farmer
 * @param crop Crop name to be checked
 * @return True if the crop is present, False otherwise
 */
fun checkCrop(crops: List<String>, crop: String): Boolean {

    // Check membership using the 'in' operator
    val isPresent = crop in crops
    return isPresent
}