func (store *Store) HasStream(id string) (bool, error) {
	store.imutex.RLock()
	defer store.imutex.RUnlock()
	_, ok := store.streams[id]
	return ok, nil
}
// HasStream returns whether the stream exists.
HasStream returns whether the stream exists.
// HasStream returns whether the stream exists .
func (store *Store) HasStream(id string) (bool, error) {
	store.imutex.RLock()
	defer store.imutex.RUnlock()
	_, ok := store.streams[id]
	return ok, nil
}
func ( store * Store ) HasStream ( id string ) ( bool , error ) { store . imutex . RLock ( ) defer store . imutex . RUnlock ( ) _ , ok := store . streams [ id ] return ok , nil }
HasStream returns whether the stream exists.
HasStream returns whether the stream exists .