Check a message exists before calling read()