use any? instead of empty? to make it explicit

reading through rails source code and found out we can use any? instead of !empty? to make it more explicit.