<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def suspend(rq, ctx, duration):
    "Suspends all workers."
    ctx.invoke(
        rq_cli.suspend,
        duration=duration,
        **shared_options(rq)
    )