you should be using ``_getBooleanAttribute``