added is_student helper func