code: func (secret *SSMSecretResource) SetAppliedStatus(status resourcestatus.ResourceStatus) bool {
  	secret.lock.Lock()
  	defer secret.lock.Unlock()
  
  	if secret.appliedStatus != resourcestatus.ResourceStatus(SSMSecretStatusNone) {
  		// return false to indicate the set operation failed
  		return false
  	}
  
  	secret.appliedStatus = status
  	return true
  }
docs: // SetAppliedStatus sets the applied status of resource and returns whether
  // the resource is already in a transition