I have a string like this:
val a = \"some random test message\"
I have a list like this:
val keys = List(\"hi\",\"random\",
Something like this?
keys.exists(a.contains(_))
Or even more idiomatically
keys.exists(a.contains)