if (attrstr == null) return default_value; else
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 {
    private boolean getBooleanAttribute(Attributes attrs,					String attr,					boolean default_value)    {	String attrstr = attrs.getValue(attr);	if (attrstr == null)	    return default_value;	else 	    return attrstr.equalsIgnoreCase("true");    }