def have_to_paginate(self):
        """Returns true if the current query requires pagination."""
        if self.get_max_per_page() and self.get_max_per_page() > self.get_nb_results():
            return True
        return False
dataset/ETHPy150Open lightningwolf/Flask-LwAdmin/flask_lwadmin/pager.py/Pager.have_to_paginate/swapped operands of `>`