If the only interaction it ever had with the prior owner was that it was fed but never held, then over time it will have learned that enclosure opening = time to eat.
Since it seems to have settled into its new home and is not shy about eating, I would start 1) hook training (look for Youtube videos), and 2) handle it several times a day but for very short durations, just a few minutes each time, until it no longer associates the enclosure opening with dinner time.
Another trick to turn off a foody snake is to run your hands under cold water for a bit and then use a lemon-scent hand sanitizer before picking up the snake; they don't like the sharp smell.