boolean (final XmlTag subTag) { return subTag.getAttributeValue(IdReferenceProvider.ID_ATTR_NAME) != null || subTag.getAttributeValue(IdReferenceProvider.FOR_ATTR_NAME) != null || getImplicitIdRefValue(subTag) != null || (subTag.getAttributeValue(IdReferenceProvider.NAME_ATTR_NAME) != null && !subTag.getName().contains(".directive")); }