question: protected boolean parseBooleanAttr ( XmlPullParser parser , String name ) { String stringValue = parser . getAttributeValue ( null , name ) ; return stringValue != null && Boolean . parseBoolean ( stringValue ) ; }
target:  Parse a boolean attribute value