code: func (p Path) HasPrefix(other Path) bool {
  	if len(other) > len(p) {
  		return false
  	}
  	for i := range other {
  		if p[i] != other[i] {
  			return false
  		}
  	}
  	return true
  }
docs: // HasPrefix returns true if p starts with other.