Well, if the music has the chords ( or you can figure them out by ear), and you can play them through the tune, then whatever chord you land on to end the tune,
usually that's the key it's in.
I don't necessarily mean the last chord in the chart, but the chord that sounds right to your ear for the end of the tune.
Peace,
Rico