If this snake comes to the glass to check out your hand that is pretty cool and unusual. They are not always the most curious snakes and really prefer to not be seen remaining in their hides most of the time. I seriously doubt the snake confuses your hand for food but make sure that when you are handling it that you have not handled its food just prior as that can cause a bite out of confusion.
Ball pythons get their name by using the means of balling up as defense. My ball still will often ball up when first removed and will take a few minutes to come out and check things out. Balls are usually very docile and easy to get along with. Mine is never in a bad mood and never gives my any issues. She has never even made a motion like she wanted to strike me.