How do I tell if my Mac supports Mini Toslink? Apparently on many modern macs the 3.5mm headphone audio jack supports Mini Toslink.

How can I tell whether my mac supports it, whether it supports surround sound (4 speaker or better), and whether the microphone input acts as a mini toslink input?
Do the following:


Open "About This Mac"
Open "More Info..." (skip this step on macOS Sierra)
Open "System Report..."
From the left pane choose Hardware > Audio
Check if Optical Digital Audio Output is present