public boolean getAttrValueAsBool(String attrName) throws XmlAttributeException {
		String val = getAttrValue(attrName);
		if (val == null) {
			throw new XmlAttributeException("Element: "+name+": attribute "+attrName+" does not exist.");
		}
		try {
			return XmlUtilities.parseBoolean(val);
		}
		catch (XmlAttributeException e) {
			throw new XmlAttributeException("Element: "+name+": attribute "+attrName+" is not a valid boolean (y|n): "+getAttrValue(attrName));
		}
	}
Returns the boolean value of the specified attribute.
@param attrName the name of the attribute
@return the boolean value of the specified attribute
@throws XmlAttributeException if no attribute exists with the specified name
Ghidra/Framework/Generic/src/main/java/ghidra/util/xml/XmlParserElement.java