b69825d925
Simplify boolean expression of the form `if (b == true)` to instead just use the form `if (b)`. Issue gh-8945