public static boolean allConfigsInRuleStopStates(ATNConfigSet configs) {
		for (ATNConfig config : configs) {
			if (!(config.state instanceof RuleStopState)) {
				return false;
			}
		}

		return true;
	}
Checks if all configurations in {@code configs} are in a
{@link RuleStopState}. Configurations meeting this condition have reached
the end of the decision rule (local context) or end of start rule (full
context).

@param configs the configuration set to test
@return {@code true} if all configurations in {@code configs} are in a
{@link RuleStopState}, otherwise {@code false}
runtime/Java/src/org/antlr/v4/runtime/atn/PredictionMode.java