isCompressedStream function for move coverage