code: func (p *Profile) HasFunctions() bool {
  	for _, l := range p.Location {
  		if l.Mapping != nil && !l.Mapping.HasFunctions {
  			return false
  		}
  	}
  	return true
  }
docs: // HasFunctions determines if all locations in this profile have
  // symbolized function information.