/**
 * This function takes a lawyer and a text as input. It searches for specific legal terms in the text and returns true if
 * any of the terms are found, otherwise it returns false.
 */
fun findLegalTerms(lawyer: String, text: String): Boolean {

    val legalTerms = listOf("lawsuit", "plaintiff") // Add more legal terms as needed
    return legalTerms.any { term -> text.contains(term, ignoreCase = true) }
}
/**
 * This function takes a lawyer and a text as input. It searches for specific legal terms in the text and returns true if
 * any of the terms are found, otherwise it returns false.
 */
fun findLegalTerms(lawyer: String, text: String): Boolean {
/**
 * This function takes a lawyer and a text as input. It searches for specific legal terms in the text and returns true if
 * any of the terms are found, otherwise it returns false.
 */
fun findLegalTerms(lawyer: String, text: String): Boolean {

    val legalTerms = listOf("lawsuit", "plaintiff") // Add more legal terms as needed
    return legalTerms.any { term -> text.contains(term, ignoreCase = true) }
}