Solve Exercise 2-5: The any() function