Yes. If you refinanced a second mortgage and are taking a mortgage interest deduction, you would answer yes that the loan was refinanced.
If you are in the beginning questions BEFORE starting your return and are not taking the mortgage interest deduction or itemizing your return, you can answer no to this question as it is meant to customize your interview mode and will direct you to the correct version of TurboTax.