why not `if( duplicates.Any() || conflicts.Any())` ? They share a common body.