If it knows an object is a boolean in SQL, you can use the bitwise operators in place of the local operators in SQL, which will produce Boolean Expression instances.