code: func IsManagedObjectNotFoundError(err error) bool {
  	isManagedObjectNotFoundError := false
  	if soap.IsSoapFault(err) {
  		_, isManagedObjectNotFoundError = soap.ToSoapFault(err).VimFault().(types.ManagedObjectNotFound)
  	}
  	return isManagedObjectNotFoundError
  }
docs: // IsManagedObjectNotFoundError returns true if error is of type ManagedObjectNotFound