Replace 'attribute(...).has_value("yes")` with 'attribute_value(..., false)'. This allows for boolean configuration to be set with values such as "true", "false", "yes", "no", or "1", "0". Fixes #2002