Senior incontinence

I need some advice.

I believe my 18-year-old has developed incontinence.

Over the past few months, I notice that sometimes there was some wet spots on her beds. But as she grooms herself quite a lot and sometimes licks fabrics, I always thought it was saliva.

But last night, she was lying down beside me sleeping. When I put my hand on the sofa, I found out that the throw blanket was wet by her back. I suddenly thought that it might be incontinence.

Is there any tests that can be done to confirm it? Anything to do to support her, if it is the case, beside medication?

We have an appointment on Monday to redo some blood tests, to recheck some values, particularly after taking her off metacam and put her on paracetamol for back pain. Her last test results showed that she is low on vitamin D. Could that be a factor?

I would appreciate any insight. What questions should I ask her vet? What test(s) should I ask for…

Thank you