Replaces an if statement that evaluates to an Option with filter.
Before:
if (method(x)) Some(x) else None
After:
Option(x).filter(method)