unnecessary ternary if

Summary:
As seen in clowntown:
         ($x<$y)?true:false
         Add a new check to check if:
         condition is boolean && both branches are either "true" or "false"

Test Plan: make test

Reviewers: pad, pieter

Differential Revision: https://phabricator.fb.com/D889765