boolean (String text, Key outputType) { boolean result = false; for (InteractiveCommandListener listener : myInteractiveListeners) { result |= listener.handlePrompt(text, outputType); } return result; }