code: func IsNotRegisteredError(err error) bool {
  	if err == nil {
  		return false
  	}
  	_, ok := err.(*notRegisteredErr)
  	return ok
  }
docs: // IsNotRegisteredError returns true if the error indicates the provided
  // object or input data is not registered.