Can I claim the savers tax credit if I do not contribute to my retirement plan?

Can I claim the savers tax credit if I do not contribute to my retirement plan with my salary, but my employer contributes for me? I have a retirement plan and I do not contribute to it when the money I make, but my employer automatically contributes 2% on their own to my account. Can I claim that contribution amount on my taxes to receive the savers credit?

is there anything in box 12 with a code D on your w-2?

Yes? then you can get the credit.
No? You cannot get the credit.