code: public static Boolean getBooleanAttribute(XmlPullParser parser, String name) {
          String valueString = parser.getAttributeValue("", name);
          if (valueString == null)
              return null;
          valueString = valueString.toLowerCase(Locale.US);
          return parseXmlBoolean(valueString);
      }
docs: Get the boolean value of an argument.
  
  @param parser
  @param name
  @return the boolean value or null of no argument of the given name exists