Retirement tax questions

I see how I can get the line 10 "X" removed from the IRA Contrib Wks. I retired at the end of 2020. In 2021, I received a W-2 that had no checks  in box 13 but my former employer had a dollar amount  for Code D in box 12.   if I remove that dollar amount, Turbotax then removes the line 10 "X".  Turbotax must equate "covered by employer retirement plan" if a dollar amount is entered in W-2 Box 12  Code D.  Now, how I guess the challenge is to find out if that is correct?