code: func nodeInSameCondition(old []v1.NodeCondition, cur []v1.NodeCondition) bool {
  	if len(old) == 0 && len(cur) == 0 {
  		return true
  	}
  
  	c1map := map[v1.NodeConditionType]v1.ConditionStatus{}
  	for _, c := range old {
  		if c.Status == v1.ConditionTrue {
  			c1map[c.Type] = c.Status
  		}
  	}
  
  	for _, c := range cur {
  		if c.Status != v1.ConditionTrue {
  			continue
  		}
  
  		if _, found := c1map[c.Type]; !found {
  			return false
  		}
  
  		delete(c1map, c.Type)
  	}
  
  	return len(c1map) == 0
  }
docs: // nodeInSameCondition returns true if all effective types ("Status" is true) equals;
  // otherwise, returns false.