public boolean isEmpty() {
		return invokingState == -1;
	}
A context is empty if there is no invoking state; meaning nobody called
 current context.
runtime/Java/src/org/antlr/v4/runtime/RuleContext.java