Answer
Yes, Kertész served in World War I. He was drafted into the Austro-Hungarian army in 1915 and fought on the Eastern Front. He was captured by the Russians in 1916 and spent the rest of the war in a prisoner-of-war camp. His experiences in the war had a profound impact on his writing, and he often drew on them in his novels.