This will never return false, because SUPPORT_ATTRIBUTE has a default value. So L150 and this if test can be removed.

AttributeDefinition.resolveModelAttribute will return the default instead of undefined if there is a default, so any place you've used it to read the model value for an attribute with a default you can dispense with isDefined() checks.