Yes! We would recommend you to have some light snack at least an hour before the class starts so that it can give you energy and improve your performance during the session.
Should you have low blood pressure or low blood sugar, it is advisable to have your meal at least 2 hours before class starts.
You may refer to this link for more information on what to eat before and after workout.