func IsNotFound(err error) bool {
	s, ok := status.FromError(err)
	if !ok {
		return ok
	}
	if s.Code() == codes.NotFound {
		return true
	}

	return false
}
// IsNotFound returns a boolean indicating whether the error
// is grpc not found error.
// See https://github.com/grpc/grpc/blob/master/doc/statuscodes.md
// for a list of grpc status codes.
IsNotFound returns a boolean indicating whether the error
is grpc not found error.
// IsNotFound returns a boolean indicating whether the error // is grpc not found error . // See https : // github . com / grpc / grpc / blob / master / doc / statuscodes . md // for a list of grpc status codes .
func IsNotFound(err error) bool {
	s, ok := status.FromError(err)
	if !ok {
		return ok
	}
	if s.Code() == codes.NotFound {
		return true
	}
	return false
}
func IsNotFound ( err error ) bool { s , ok := status . FromError ( err ) if ! ok { return ok } if s . Code ( ) == codes . NotFound { return true } return false }
IsNotFound returns a boolean indicating whether the error
is grpc not found error.
IsNotFound returns a boolean indicating whether the error is grpc not found error .