Called to determine whether to stop processing a query
true if the query should stop, false otherwise