Find source stream from transcoded stream

Is it possible to find the source/original stream from a transcoded stream?

if (stream.isTranscodeResult() == true) {
    IMediaStream sourceStream = ... ?
}

You might check out this post as a way to track references from renditions to the source stream.