code: func (s *OutputState) Equal(other *OutputState) bool {
  	if s == nil && other == nil {
  		return true
  	}
  
  	if s == nil || other == nil {
  		return false
  	}
  	s.Lock()
  	defer s.Unlock()
  
  	if s.Type != other.Type {
  		return false
  	}
  
  	if s.Sensitive != other.Sensitive {
  		return false
  	}
  
  	if !reflect.DeepEqual(s.Value, other.Value) {
  		return false
  	}
  
  	return true
  }
docs: // Equal compares two OutputState structures for equality. nil values are
  // considered equal.