Can I connect a LED cinema display to an iMac late 2013? I'm wondering if I can connect:

LED Cinema Display (27-inch)

to a:

iMac (27-inch, Late 2013)

My conundrum arises because the iMac has only thunderbolt ports but LED Cinema Display uses a miniDisplayPort connector. The port shape is identical but I'm wondering if the connection works.
Here Apple says:

Thunderbolt and Thunderbolt 2 are not the same as Mini DisplayPort .
They have the same shape, but use different symbols on the cable and
port. However, this port does support Mini DisplayPort for video
output, so you can use a Mini DisplayPort cable to connect a Mini
DisplayPort display.

... but I'd like to doble check if somebody has already made this setup work.
I connect a 13” touchbar macbook pro with usb-c ports to my 27” apple display with apple adaptors and also my 15” macbook pro to the same display with suitable apple adaptors.
Works fine.