Some languages have nullable booleans where evaluating them directly may lead to errors. An example is PowerQuery M, which is designed for data queries and transformations, where “no value” may be distinct from “false”.
The syntax of the example most definitely isn’t M, but I’m just saying, such languages exist.