This function works as a shortcut of one of the calls:
getServiceAttr(element, attrName).toBoolean()
or
getServiceAttr(attrName).toBoolean()
See Also:

getServiceAttr(), toBoolean()