#TEIID-4613 Add support for servers not handling comparisons for boolean functions.

For instance, some servers choke on "startswith('a', 'b') eq true"

whereas "startswith('a', 'b')" is fine.