return getLength() > 0;
int len = getLength(); if (len == 0) return false; if (len > 1) return true; Item first = itemAt(0); if(first instanceof StringValue) return first.getStringValue().equals("") ? true : false; else if(first instanceof BooleanValue) return ((BooleanValue)first).getValue(); else if(first instanceof NumericValue) return ((BooleanValue)first.convertTo(Type.BOOLEAN)).getValue(); else return true;
	public boolean effectiveBooleanValue() throws XPathException {		return getLength() > 0;	}