public boolean shotTest(Element node, Map<String, Double> ensAttr) throws DataConversionException {
		boolean res = false;
		
		if(ensAttr.isEmpty())
			return true;
		
		if (node.getAttributeValue("type").equals("leaf")) { 
			Element leaf = node.getChild("population");
			
			System.out.println(leaf.getAttribute("L0"));

			if (leaf.getAttribute("L0") != null)
				return true;
			else 
				return false;
			
		} else if (node.getAttributeValue("type").equals("node")) {
			//collect the result of the question of the node 
			Element question = node.getChild("question");
			
			double patron = question.getAttribute("patron").getDoubleValue();
			double value = ensAttr.get(question.getAttributeValue("name"));
			
			res = testQuestion(value, patron);
			
			//true -> left child tree
			if (res)
				return shotTest(node.getChildren("node").get(0), ensAttr);
			//false -> right child tree
			else
				return shotTest(node.getChildren("node").get(1), ensAttr);
		} else
			//normally this case never happens
			return false;
	}