You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: message.go
    path of file: ./repos/plumber/vendor/github.com/go-stomp/stomp
    
    the code of the file until where you have to start completion: package stomp

import (
	"io"
	"github.com/go-stomp/stomp/frame"
)

// A Message represents a message received from the STOMP server.
// In most cases
    
func (msg *Message) ShouldAck() bool {
	if msg.Subscription == nil {
		// not received from the server, so no acknowledgement required
		return false
	}

	return msg.Subscription.AckMode() != AckAuto
}