How to know when serial has finished sending

Here. It's basically a Leonardo, not an Uno.