If I buy a new Mac Pro, will I be able to use my 5K iMac as a monitor?

Does anyone know ... If I were to buy a new Mac Pro, could I connect my old (working) 27" 5K iMac to use it as a monitor? If so, how would that work? What cable connections would work? (My 2015 iMac only has Thunderbolt 2 ports) I assume I would have to power up the iMac, even to just use it as a monitor, right? So, that wouldn't be very energy efficient, but with the cost of new 5K monitors ... wow!
Please advise if this is feasible! Thanks!
Re: Mac Pro monitor options ...

You probably could, but you may need an adapter of some sort and then the driver for the adapter, but I’ll let those who has a Mac Pro and a 4K monitor provide a definitive answer for you.

Original thread: https://forums.imore.com/threads/if-i-buy-a-new-mac-pro-will-i-be-able-to-use-my-5k-imac-as-a-monitor.439212/