public static boolean isXHTMLMessage ( Message message ) { return message . getExtension ( XHTMLExtension . ELEMENT , XHTMLExtension . NAMESPACE ) != null ; }
Returns true if the message contains an XHTML extension .