Replaces filter and headOption with find.
Before:

sequence.filter(myValueIsGoodEnough).headOption

After:

sequence.find(myValueIsGoodEnough)