boolean (GenericDomValue element, GenericDomValueReference domReference, Converter converter) { return !hasBadResolve(domReference) || converter instanceof ResolvingConverter && ((ResolvingConverter<?>)converter).getAdditionalVariants(domReference.getConvertContext()).contains(element.getStringValue()); }