func (opts Options) Last(n name.Ident) bool {
	return opts.Parts[len(opts.Parts)-1].String() == n.String()
}
func (opts Options) Last(n name.Ident) bool {
	return opts.Parts[len(opts.Parts)-1].String() == n.String()
}
func ( opts Options ) Last ( n name . Ident ) bool { return opts . Parts [ len ( opts . Parts ) - 1 ] . String ( ) == n . String ( ) }
// Last checks if the name is the last of the parts
Last checks if the name is the last of the parts