Check if in tmux session already.
Improve the behavior of checking tmux session.