Relocate MailgunMessage instance check