27-8-3   TRUANCY RESTRICTIONS.
   (A)   It is unlawful for any minor who is subject to compulsory education or to compulsory continuation education by statute or court order to be present in any public place or on the premises of any establishment within the Village during truancy curfew hours.
   (B)   It is unlawful for any parent, custodian or guardian of a minor to knowingly permit, or by insufficient control to allow the minor to be present in any public place or on the premises of any establishment within the Village during truancy curfew hours.
   (C)   It is a defense to prosecution under this Section or Section 27-8-4 that the minor was:
      (1)   accompanied by a parent, guardian, custodian or responsible adult if engaged in an activity which would constitute an excused absence from the school from which the minor would normally attend;
      (2)   involved in an emergency;
      (3)   going to or returning from a medical appointment without any detour or stop;
      (4)   engaged in, going to or returning home from an employment activity pursuant to a cooperative school vocation program without any detour or stop;
      (5)   in possession of valid proof that the minor is a student who has permission to leave the school campus;
      (6)   a bona fide participant in an alternative education or home-schooling program;
      (7)   engaged in or subject to an authorized or excused absence from the school which the minor attends, including but not limited to lunch periods.