Does heartburn actually connect to baby hair?

Is this just a myth or can it be true?