Apparentlynot. At least not explicitly. Who knows if the guy who wrote it made that connection. The nursery rhyme was first published by the Boston publishing firm Marsh, Capen & Lyon, as an original poem by Sarah Josepha Hale on May 24, 1830, and was inspired by an actual incident.
JMx9.