Use Ordinal comparison for Boolean check (#3938)
Use Ordinal comparison for Boolean check (#3938)

This is an improvement to #3903
dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,nvisionative/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,bdukes/Dnn.Platform,bdukes/Dnn.Platform,valadas/Dnn.Platform,nvisionative/Dnn.Platform,bdukes/Dnn.Platform,EPTamminga/Dnn.Platform,mitchelsellers/Dnn.Platform,nvisionative/Dnn.Platform,EPTamminga/Dnn.Platform,valadas/Dnn.Platform,dnnsoftware/Dnn.Platform,mitchelsellers/Dnn.Platform,dnnsoftware/Dnn.Platform,EPTamminga/Dnn.Platform,bdukes/Dnn.Platform,valadas/Dnn.Platform,mitchelsellers/Dnn.Platform,valadas/Dnn.Platform