Boolean ifResult = (Boolean) stack.getContext().get(If.ANSWER);
if ((ifResult == null) || (ifResult.booleanValue())) {
return false;
}
//make the comparision
answer = (Boolean) findValue(test, Boolean.class);
if (answer == null) {
answer = Boolean.FALSE;
}
if (answer.booleanValue()) {
stack.getContext().put(If.ANSWER, answer);
}
return answer != null && answer.booleanValue();