human
Complete this python program:
def manage_accessed(wrapped):
assistant
#Here is the Python program you requested.

    """Decorator which causes a cookie to be renewed when an accessor
    method is called.
    """
    def accessed(session, *arg, **kw):
        session.accessed = now = int(time.time())
        if (session._reissue_time is not None):
            if ((now - session.renewed) > session._reissue_time):
                session.changed()
        return wrapped(session, *arg, **kw)
    accessed.__doc__ = wrapped.__doc__
    return accessed