class Message extends FieldMap {

    public boolean isAdmin() {
        if (header.isSetField(MsgType.FIELD)) {
            try {
                final String msgType = header.getString(MsgType.FIELD);
                return MessageUtils.isAdminMessage(msgType);
            } catch (final FieldNotFound e) {
                // shouldn't happen
            }
        }
        return false;
    }

    public  Message();
    protected  Message(int[] fieldOrder);
    public  Message(String string);
    public  Message(String string, boolean validate);
    public  Message(String string, DataDictionary dd);
    public  Message(String string, DataDictionary dd, boolean validate);
    public  Message(String string, DataDictionary sessionDictionary, DataDictionary applicationDictionary, boolean validate);

}