Some dialects of SQL have nice operators for testing boolean values. I think we should add these to HQL.