Convenience method for fast contains checking for DocIdSets