Is you got the best of two worlds an idiom?

this is an example of an idiom, as i think. it is in a song.