String ancestor = ancestorForSlot(prototype, slot);
Attributes p_attrs = (Attributes) proto_attrs.get(prototype); String parent = p_attrs.getValue("prototype"); String ancestor = ancestorForSlot(parent, slot);
    private boolean getBooleanAttribute(String prototype,					String slot,					Attributes attrs,					String attr,					boolean default_value)    {	String attrstr = attrs.getValue(attr);	if (attrstr == null) {	    String ancestor = ancestorForSlot(prototype, slot);	    if (ancestor != null) {		HashMap slots = (HashMap) proto_slots.get(ancestor);		Attributes inherited = (Attributes) slots.get(slot);		return getBooleanAttribute(ancestor, slot, inherited, attr, 					   default_value);	    } else {		return default_value;	    }	} else {	    return attrstr.equalsIgnoreCase("true");	}    }