code: func (cs *CSCloud) InstanceExistsByProviderID(ctx context.Context, providerID string) (bool, error) {
  	_, count, err := cs.client.VirtualMachine.GetVirtualMachineByID(
  		providerID,
  		cloudstack.WithProject(cs.projectID),
  	)
  	if err != nil {
  		if count == 0 {
  			return false, nil
  		}
  		return false, fmt.Errorf("error retrieving instance: %v", err)
  	}
  
  	return true, nil
  }
docs: // InstanceExistsByProviderID returns if the instance still exists.