I was paid sign on bonus in 2017 which I had to repay back in 2018. Does turbotax Deluxe guide it as a credit under IRS publication 525 page 34 under repayment?

I know turbo tax handles itemized deduction but I would like the software to guide it as a credit if the amount is more than $3000 which is on page 33 of IRS Publication 525 Taxable and Nontaxable Income under Repayment. It would be ideal if the SW checks both methods and recommends the most optimum one.