It doesn't matter if they are in shed or not, it wont hurt them to eat.
Some snakes will eat, and some wont. You will learn each individual preference with time.
With that said, most of mine will take a meal while in shed. In fact I think the stretch from the meal helps the shedding process (No scientific evidence to back this up, just a personal observation.)