def delete_stream(self, stream_name):
        if stream_name in self.streams:
            return self.streams.pop(stream_name)
        raise StreamNotFoundError(stream_name)
dataset/ETHPy150Open spulec/moto/moto/kinesis/models.py/KinesisBackend.delete_stream/original