* @return boolean
   */
  public static boolean yesOrNoP(String message) {
    if (((Keyword)(Stella.$USER_QUERY_ACTION$.get())) == Stella.KWD_YES) {
      return (true);
    }
    else if (((Keyword)(Stella.$USER_QUERY_ACTION$.get())) == Stella.KWD_NO) {
      return (false);
    }
    else if (((Keyword)(Stella.$USER_QUERY_ACTION$.get())) == Stella.KWD_YES_VERBOSE) {
      System.out.println(message + " [Auto => YES]");
      return (true);
    }
    else if (((Keyword)(Stella.$USER_QUERY_ACTION$.get())) == Stella.KWD_NO_VERBOSE) {
      System.out.println(message + " [Auto => NO]");
      return (false);
    }
    else if (((Keyword)(Stella.$USER_QUERY_ACTION$.get())) == Stella.KWD_ASK) {
      { String input = null;
        int start = 0;

        for (;;) {
          if (message != null) {
            System.out.print(message);
          }
          input = InputStream.readLine(Stella.STANDARD_INPUT);
          start = 0;
          { char ch = Stella.NULL_CHARACTER;
            String vector000 = input;
            int index000 = 0;
            int length000 = vector000.length();

            loop001 : for (;index000 < length000; index000 = index000 + 1) {
              ch = vector000.charAt(index000);
              if (Stella.$CHARACTER_TYPE_TABLE$[(int) ch] == Stella.KWD_WHITE_SPACE) {
                start = start + 1;
              }
              else {
                break loop001;
              }
            }
          }
          if (input.length() > start) {
            input = Native.string_subsequence(input, start, Stella.NULL_INTEGER);
            if (Stella.stringEqualP(input, "yes")) {
              return (true);
            }
            if (Stella.stringEqualP(input, "no")) {
              return (false);
            }
            System.out.println("Type `yes' for yes or `no' for no.");
          }
        }
      }
    }
    else {
      { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

        stream000.nativeStream.print("`" + ((Keyword)(Stella.$USER_QUERY_ACTION$.get())) + "' is not a valid case option");
        throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
      }
    }
  }