Eval retval = BoolEval.FALSE; switch (operands.length) { default: retval = ErrorEval.VALUE_INVALID; break; case 1: Eval eval = operands[0]; if (eval instanceof RefEval || eval instanceof AreaEval) { retval = BoolEval.TRUE; } } return retval;