public boolean hasAttribute() {
        return this.attribute != null;
    }
Returns whether the message has an attribute.

@return
metamorphosis-commons/src/main/java/com/taobao/metamorphosis/Message.java