def METHOD_NAME():
    try:
        ret = app.sample_changer.METHOD_NAME()
        if ret:
            state, cmdstate, msg = ret
        else:
            return jsonify(ret)
    except Exception:
        return Response(status=409)
    else:
        return jsonify(state=state, commands_state=cmdstate, message=msg)