Simplify redundant nil check

Proprietary

Simplify x != nil && len(x) > 0 to len(x) > 0 for slices and maps.

org.openrewrite.golang.codequality.SimplifyRedundantNilCheck
mod run . --recipe=org.openrewrite.golang.codequality.SimplifyRedundantNilCheck

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.