func (sm *ShardMux) IsManaging(shardID uint64) bool {
	sm.lock.RLock()
	defer sm.lock.RUnlock()
	_, found := sm.managers[shardID]
	return found
}
// IsManaging checks if the shard mux is managing a certain shard.
IsManaging checks if the shard mux is managing a certain shard.
// IsManaging checks if the shard mux is managing a certain shard .
func (sm *ShardMux) IsManaging(shardID uint64) bool {
	sm.lock.RLock()
	defer sm.lock.RUnlock()
	_, found := sm.managers[shardID]
	return found
}
func ( sm * ShardMux ) IsManaging ( shardID uint64 ) bool { sm . lock . RLock ( ) defer sm . lock . RUnlock ( ) _ , found := sm . managers [ shardID ] return found }
IsManaging checks if the shard mux is managing a certain shard.
IsManaging checks if the shard mux is managing a certain shard .