Is there a Rails/Ruby idiom for checking if an enumerable is both present and has non-nil values?

I get errors if I ever try to do nil.any? so I always have to do if foo && foo.any?.

Edit
Report