The Harry Potter History Lesson

To my friends who are Harry Potter friends:Looks like Ms Rowling has a history lesson embedded in the latter books of the series, making for interesting reading. I've not gotten into the whole Harry Potter thing yet, even. The Harry Potter book series as allegory for 1930s Europe - Voldemort as Hitler, Dumbledore as Churchill, and Potter as FDR's America?