Returns true if the given function returns true for any item in the list.
If the list is empty, returns false.