code: def _confirm_or_prompt_or_command(pymux):
      " True when we are waiting for a command, prompt or confirmation. "
      client_state = pymux.get_client_state()
      if client_state.confirm_text or client_state.prompt_command or client_state.command_mode:
          return Truf _confirm_or_prompt_or_command(pymux):
      " True when we are waiting for a command, prompt or confirmation. "
      client_state = pymux.get_client_state()
      if client_state.confirm_text or client_state.prompt_command or client_state.command_mode:
          return True
docs: True when we are waiting for a command, prompt or confirmation.