When the result of find_if() is only compared to the container's end(), the operation can normally be expressed more concisely using any_of(), all_of(), or none_of().