Altered slightly, of course. But the main emphasis would be the joyous refrain – so it would be “composed” well into her character development, and at least partly as a tribute.
FAIR USE: CRITICISM – Uplifting music from a good – if slightly overrated – movie.