Simplify check on instanceof MailgunMessage