def is_expired(self, seconds=3600):
        now = datetime.datetime.today()
        if not self._last_timestamp or \
                now > self._last_timestamp + datetime.timedelta(seconds=seconds):
            self._last_timestamp = now
            return False
        else:
            return True
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/globals.py/Session.is_expired/swapped operands of `>`