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: all.go
    path of file: ./repos/pie/functions
    
    the code of the file until where you have to start completion: package functions

// All will return true if all callbacks return true. It follows the same logic
// as the all() function in Pyt
    
func (ss SliceType) All(fn func(value ElementType) bool) bool {
	for _, value := range ss {
		if !fn(value) {
			return false
		}
	}

	return true
}