true if predicate returns true for any integer starting from fromInclusive to toExclusive - 1.
The toExclusive parameter is one more than the last integer to facilitate using the length of a range of integers starting at 0. For example, it would be set to 5 for integers 0 through 4.