Is there a provable way which applies to other humans? We are either generalizing from personal experience or using biological explanations to postulate a connection between behaviour and sentient feelings. So, when a street dog whimpers and runs away as someone bends down to pick a stone, or when it jumps eagerly to eat some food, we deduce pain and pleasure.