def METHOD_NAME(self):
    """Return the STAN client for the Queue Service."""
    ctx = _app_ctx_stack.top
    if ctx:
        if not hasattr(ctx, 'stan'):
            return None
        return ctx.METHOD_NAME
    return None