public final boolean isInitialized() { if (!hasContextState()) { return false; } if (!hasContextId()) { return false; } for (int i = 0; i < getContextMessageCount(); i++) { if (!getContextMessage(i).isInitialized()) { return false; } } return true; }