code: func IsErrPermissionDenied(err error) bool {
  	return err != nil && strings.Contains(err.Error(), errPermissionDenied)
  }
docs: // IsErrPermissionDenied checks if the given error message is comparable
  // to ErrPermissionDenied.