wrap tmux session list in "has-session" check