public boolean isConsumed() {
    return iteratorWithHistory.isConsumed();
  }
Whether the content has been consumed.

<p>"consumed" means all the content has been iterated through.
java-vertexai/google-cloud-vertexai/src/main/java/com/google/cloud/vertexai/generativeai/ResponseStream.java