@classmethod<EOL><INDENT>def _is_simple_query(cls, query):<DEDENT>
return (<EOL>not query.low_mark<EOL>and not query.high_mark<EOL>and not query.select<EOL>and not query.group_by<EOL>and not query.distinct<EOL>and not query.order_by<EOL>and len(query.alias_map) <= <NUM_LIT:1><EOL>)<EOL>
Inspect the internals of the Query and say if we think its WHERE clause
can be used in a HANDLER statement