public boolean isVariableWithLambdaProduction(String variable,
			Grammar grammar) {
		ProductionChecker pc = new ProductionChecker();
		GrammarChecker gc = new GrammarChecker();
		Production[] productions = GrammarChecker.getProductionsOnVariable(
				variable, grammar);
		for (int k = 0; k < productions.length; k++) {
			if (ProductionChecker.isLambdaProduction(productions[k]))
				return true;
		}
		return false;
	}