def METHOD_NAME(self, session=None):
    if session is None:
        session = self.get()
    if session:
        session.update({
            'expired': True
        })
        cache.set(self.cache_key, session, METHOD_NAME=60 * 60 * 5)