Using std::all_of
Using std::all_of

Summary: Found a pattern which is captured by `std::all_of`.

Reviewed By: kuganv

Differential Revision: D22670423

fbshipit-source-id: b8dddcdecb9518f2348bf8125a46a87903080802

facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex,facebook/redex