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: function_definition.go
    path of file: ./repos/cockroach/pkg/sql/sem/tree
    
    the code of the file until where you have to start completion: // Copyright 2016 The Cockroach Authors.
//
// Use of this software is governed by the Business Source Licen
    
func (fd *ResolvedFunctionDefinition) GetHasSequenceArguments() (bool, error) {
	if len(fd.Overloads) < 1 {
		return false, errors.AssertionFailedf("no overloads found for function %s", fd.Name)
	}
	ret := fd.Overloads[0].HasSequenceArguments
	for i := range fd.Overloads {
		if ret != fd.Overloads[i].HasSequenceArguments {
			return false, pgerror.Newf(pgcode.AmbiguousFunction, "ambiguous function sequence argument on %s", fd.Name)
		}
	}
	return ret, nil
}