/** * A message is considered to be closed if its content is closed, or if it is an * interrogative (and variables are allowed in the message content). * * @return {@code true} if the content of the message does not have any free * variables, or the message is an interrogative; {@code false} * otherwise. */ public boolean isClosed() { return this.content.isClosed() || this.mood == SentenceMood.INTERROGATIVE; }