Prior 27" iMacs have had the ability to run as external displays in Target Display Mode.
This was very nice when the view connection was DVI, but the current ThunderBolt connections limit it to other systems with ThunderBolt and the appropriate drivers. This limits it to pretty much using the display with other Macs.
My quick review of the Apple's tech spec for the new iMac doesn't say if it has this feature.