if ((entry instanceof Compound)||(showCDasChild && (entry instanceof ComponentDescription))) {
if ((entry instanceof Compound) ||(showCDasChild && (entry instanceof Prim)) |(showCDasChild && (entry instanceof ComponentDescription))) {
    public boolean isLeaf() {        if ((entry instanceof Compound)||(showCDasChild && (entry instanceof ComponentDescription))) {            //System.out.println(this.toString()+": NO Leaf");            return false;        } else {            //System.out.println(this.toString()+": Leaf");            return true;        }    }