def is_in_shard(self, s):
    return self.compute_shard(s, self._nshards) == self._shard
Returns True iff the string s is in this shard.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/hash_utils.py/Sharder.is_in_shard