<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def offline(f):
 """ This decorator allows you to access ``ctx.peerplays`` which is an instance of PeerPlays with ``offline=True``. """


    @click.pass_context
    @verbose
    def new_func(ctx, *args, **kwargs):
        ctx.obj["offline"] = True
        ctx.peerplays = PeerPlays(**ctx.obj)
        ctx.blockchain = ctx.peerplays
        set_shared_peerplays_instance(ctx.peerplays)
        return ctx.invoke(f, *args, **kwargs)

    return update_wrapper(new_func, f)