def has_results(self):
    '\n        Backends (e.g. NoSQL) can override this in order to use optimized\n        versions of "query has any results."\n        '
    self.query.add_extra({'a': 1}, None, None, None, None, None)
    self.query.set_extra_mask(['a'])
    return bool(self.execute_sql(SINGLE))
Backends (e.g. NoSQL) can override this in order to use optimized
versions of "query has any results."
def has_results(self):
    '\n        Backends (e.g. NoSQL) can override this in order to use optimized\n        versions of "query has any results."\n        '
    self.query.add_extra({'a': 1}, None, None, None, None, None)
    self.query.set_extra_mask(['a'])
    return bool(self.execute_sql(SINGLE))