(a) A person commits the offense of contributing to the delinquency of a minor if, being an adult, the person knowingly aids, causes, or encourages a minor to:
(1) Do any act prohibited by law;
(2) Do any act that if done by an adult would render the adult subject to a prosecution for an offense punishable by imprisonment;
(3) Habitually absent himself or herself, without good or sufficient cause, from the minor's home without the consent of the minor's parent, stepparent, foster parent, guardian, or other lawful custodian;
(4) Habitually absent himself or herself from school when required by law to attend school; or
(5) Habitually disobey a reasonable and lawful command of the minor's parent, stepparent, foster parent, guardian, or other lawful custodian.
(b) Contributing to the delinquency of a minor is a Class A misdemeanor.