We can measure the physiological activity, but not whether it gives rise to the same sensations that we experience ourselves. We can reasonably project and guess that they are the same, but we can not know.
In practical terms it does not matter - it is reasonable for us to act as if others do experience the same we do. But if we are to talk about the nature of conscience and sentience it does matter that the only basis we have for knowing about other sentient beings is their self-reported experience.
We know that others do not experience the exact same sensations, because there are reported differences, some of which has been discussed on HN, such as aphantasia. The opposite would be visual thinkers. Then you have super tasters and smellers, people who have very refined palats, perhaps because their gustary and/or oilfactory senses are more heightened. Then you have savants like the musical genius who would hear three separate strands of music in his head at the same time.