func IsNetworkError(attempt request.Attempt) bool { return attempt != nil && attempt.GetError() != nil }