Why not std::all_of? (code could be commented to say why)