On the way he soon became lost in philosophical speculations. "Ghee," he said to himself, "comes from cow's milk. Cows eat grass, and yes, leaves, too. Ah then, ** in a way**, ghee comes from cow's milk, and cow's milk comes from leaves, and so the ghee and the leaf are related!
This paragraph is from a folk tale.The question is : which sentence does the phrase "in a way" emphasize? Does it mean "to some extent"?