Over what protocol am I currently connected to a given server?
Basically, on Mac OS X Leopard and higher, any connection discovered in the sidebar that connects via SMB will have the beige CRT with the Windows BSOD. 

Any AFP connection will appear differently.