pub fn is_local(stream_id: u64, is_server: bool) -> bool
Returns true if the stream was created locally.