Normally you would use setPropBool for an attribute - otherwise if there was one already I think it will generate an error.