SE-0207: Add a containsOnly algorithm to Sequence