/// <summary> /// Checks if storage contains specified stream /// </summary> public bool ContainsStream(Guid streamId) { CheckClosed(); if (SystemStreamId.IsSystemStreamId(streamId)) { throw new InvalidStreamIdException(); } return(streamTable.Contains(streamId)); }