(A) It is unlaw­ful for any minor who is sub­ject to com­pul­so­ry edu­ca­tion or to com­pul­so­ry con­tin­u­a­tion edu­ca­tion by statute or court order to be present in any pub­lic place or on the premis­es of any estab­lish­ment with­in the Coun­ty dur­ing tru­an­cy cur­few hours.

(B) It is unlaw­ful for any par­ent, cus­to­di­an or guardian of a minor to know­ing­ly per­mit, or by insuf­fi­cient con­trol to allow, the minor to be present in any pub­lic place or on the premis­es of any estab­lish­ment with­in the Coun­ty dur­ing tru­an­cy cur­few hours.

(C) It is a defense to pros­e­cu­tion under this Sec­tion or Sec­tion 26–4‑4 that the minor was:

  1. accom­pa­nied by a par­ent, guardian, cus­to­di­an or respon­si­ble adult if engaged in an activ­i­ty which would con­sti­tute an excused absence from the school from which the minor would nor­mal­ly attend;
  2. involved in an emergency;
  3. going to or return­ing from a med­ical appoint­ment with­out any detour or stop;
  4. engaged in, going to or return­ing home from an employ­ment activ­i­ty pur­suant to a coop­er­a­tive school voca­tion pro­gram with­out any detour or stop;
  5.  in pos­ses­sion of valid proof that the minor is a stu­dent who has per­mis­sion to leave the school campus;
  6. a bona fide par­tic­i­pant in an alter­na­tive edu­ca­tion or home school­ing program;
  7. engaged in or sub­ject to an autho­rized or excused absence from the school which the minor attends, includ­ing but not lim­it­ed to lunch peri­ods.