Check whether a condition is true for any element of an array. The condition check is in the form of a callback.