Actually both Marx and Lenin were inspired by Saint Sir Thomas More's, "Utopia".
Lenin and Marx went so far as to setup a memorial to Saint More in Moscow in 1918.
Anybody can use anything for inspiration.
Then the joke's on them: Unlike either Marx or Lenin, More was well aware that the word "utopia" means nowhere (in Greek)....