I think everyone will have a different opinion on this.. IMHO Ball Pythons, while a completely wild animal no matter how many generations are CBB, will get use to a persons scent.
You have to think about how a snake relies on feeling the warmth, heart beat and breaths of the animal its constricting. It is in the snakes nature to either kill & eat, or not be anywhere near a warm blooded animal with a heart beat.
A nervous snake is different from a relaxed exploring snake. Its a subtle difference but there is a difference. If your snake curled up in your pocket and stayed there i would think it was mostly comfortable. Maybe a bit uneasy from the sudden change in environment but if it was handled as much as you say it was by the previous owner, then it knows humans are not a threat to it.
The warmth and close fitting area of your pocket would have calmed it down even if he was nervous.
An exploring snake will move slowly. Will not jerk away when you reach your hand out to it. Will poke its nose around differnt places.
A nervous snake will move faster. Try to get under things. Try to get away from you. Will jerk away or move faster when you try to bring it back.
You will be able to tell the difference.