def _has_filters(self):
        return self.query.has_filters()
Checks if this QuerySet has any filtering going on. Note that this
dataset/ETHPy150Open django/django/django/db/models/query.py/QuerySet._has_filters