It's true that animals have a "sixth" sense and can tell there is some change going on with you, which can cause them to be extra clingy.
Otherwise, this is total nonsense. If it were true, every cat owner would be having a female baby, because cats are typically not clingy at all! ha