getBooleanByAttr

Returns the boolean value that the given attrRes refers to.

Throws

if the given attribute cannot be found or doesn't refer to a valid boolean value.