Logic doesn't have anything like that built in but you can download software that will help. one being keyfinder, its free and will detect the key of any wav file. Another is chord detector by ddmf. Just drag your wav file in and it will detect the chords being played. I remember this software being fairly accurate when I used it but since I have no use for such software these days I can't tell you if its been improved or not. Consider leaving a feature request for some kind of chord detection like studio one has, its built in and works pretty well.