code: func portsConflict(existingPorts schedulernodeinfo.HostPortInfo, wantPorts []*v1.ContainerPort) bool {
  	for _, cp := range wantPorts {
  		if existingPorts.CheckConflict(cp.HostIP, string(cp.Protocol), cp.HostPort) {
  			return true
  		}
  	}
  
  	return false
  }
docs: // portsConflict check whether existingPorts and wantPorts conflict with each other
  // return true if we have a conflict