Returns the boolean value for the provided attributeResId or defaultValue if the attribute is not a boolean or not present in the current theme.
attributeResId
defaultValue