def tmux_id_4_show(tmux_id):
    #if no backup exists, exit application
    all_bk =util.all_backups() 

    #checking tmux_id
    if tmux_id:
        if tmux_id not in all_bk:
            LOG.error('cannot find given backup name:%s'% tmux_id)
            sys.exit(1)

    return tmux_id
check the tmux_id (backup name) for show info (-l)
dataset/ETHPy150Open sk1418/retmux/tmuxbk/controller.py/tmux_id_4_show