FilterByPredicate(hash,x=>x.ForeignEditionId,localHash,profile,(x,p)=>!allowedLanguages.Any()||allowedLanguages.Contains(x.Language?.CanonicalizeLanguage()??"null"),"edition language not allowed");
FilterByPredicate(hash,x=>x.ForeignEditionId,localHash,profile,(x,p)=>!allowedLanguages.Any()||allowedLanguages.Contains(x.Language?.CanonicalizeLanguage()),"edition language not allowed");
FilterByPredicate(hash,x=>x.ForeignEditionId,localHash,profile,(x,p)=>!p.SkipMissingIsbn||x.Isbn13.IsNotNullOrWhiteSpace()||x.Asin.IsNotNullOrWhiteSpace(),"isbn and asin is missing");