@property
    def has_prev(self):
        return self.page > 1
Algorithm based on an old project of mine, ported from yavascript:
dataset/ETHPy150Open lektor/lektor-archive/lektor/pagination.py/Pagination.has_prev--crossover with--dataset/ETHPy150Open christabor/MoAL/MOAL/algorithms/coding_theory/hamming_distance.py/hamming