Replaces not and isEmpty with nonEmpty or isDefined.
Before:
!seq.isEmpty
!option.isEmpty
After:
seq.nonEmpty
option.isDefined