Use collection.empty? instead of collection.any?