Replaces exists with contains if possible.
Before:

set.exists(x => x == "a")

After:

set.contains("a")