All times where a Boolean value would be assigned, it must be explicitly checked and then set to either TRUE or FALSE.
The reason is for writing embedded code that doesn't depend on a specific compiler or architecture, which is important when code that was written in the 80s is still getting used everyday in new safety critical systems, where any kind of standard libraries are forbidden.
I agree it's not the best but it's definitely not uncommon.