def _confirm_or_prompt_or_command(pymux):
client_state = pymux.get_client_state()<EOL>if client_state.confirm_text or client_state.prompt_command or client_state.command_mode:<EOL><INDENT>return True<EOL><DEDENT>
True when we are waiting for a command, prompt or confirmation.