private boolean evaluateCondition(String condition, Model model)
protected boolean evaluateCondition(String condition, Model model)
	private boolean evaluateCondition(String condition, Model model)	{		getLogger().log(Level.FINER, "evaluateCondition: " + condition, model);		boolean result = false;		if (model != null)		{			if (condition.endsWith("?exists"))			{				String key = condition.subSequence(0, condition.length() - 7).toString();				result = model.containsKey(key);			}			else if (model.containsKey(condition))			{				Object value = model.get(condition);				if (value instanceof Boolean)				{					result = ((Boolean) value).booleanValue();				}				else if (value instanceof Integer)				{					result = (((Integer) value).intValue() != 0);				}				else if (value instanceof Float)				{					result = (((Float) value).floatValue() != (float) 0);				}				else if (value instanceof Long)				{					result = (((Long) value).longValue() != (long) 0);				}				else				{					result = (value != null);				}			}		}		return result;	}