code: func (rsk *ResourceStateKey) Equal(other *ResourceStateKey) bool {
  	if rsk == nil || other == nil {
  		return false
  	}
  	if rsk.Mode != other.Mode {
  		return false
  	}
  	if rsk.Type != other.Type {
  		return false
  	}
  	if rsk.Name != other.Name {
  		return false
  	}
  	if rsk.Index != other.Index {
  		return false
  	}
  	return true
  }
docs: // Equal determines whether two ResourceStateKeys are the same