How to track ISP delays

Hey, your mail was delayed. Was it delayed inside of the ISP, or was it queued up in your ESP's outbound mail server waiting to connect to Yahoo or Gmail? Here's how to tell.