Criminal possession of firearm by a juvenile. (a) Criminal possession of a firearm by a juvenile is knowingly possessing a firearm with a barrel less than 12 inches long by any person less than 18 years of age.
(b) Criminal possession of a firearm by a juvenile is a class A nonperson misdemeanor. A second or subsequent violation is a severity level 8, nonperson felony.
(c) It shall be a defense to a prosecution of criminal possession of a firearm by a juvenile if such person less than 18 years of age was:
(4) hunting or trapping pursuant to a valid license issued to such person pursuant to article 9 of chapter 32 of the Kansas Statutes Annotated and amendments thereto;