public static bool ContainsSequenceNumberAndName(this ManifestLegs manifestLegs, int sequenceNumber,
                                                  IList <string> namesToContain)
 {
     return(manifestLegs
            .GetSequenceNumber(sequenceNumber)
            .CompanyNameContains(namesToContain));
 }
 public static bool ContainsSequenceNumber(this ManifestLegs manifestLegs, int sequenceNumber)
 {
     return(manifestLegs.GetSequenceNumber(sequenceNumber) != null);
 }