What is the purpose of the `stream.finished()` utility in Node.js?
stream.finished()` returns a Promise that resolves when a stream has finished processing or rejects if an error occurs. It provides a convenient way to handle stream completion in an asynchronous and Promise-based manner.