(a) For the purposes of this section, the following words and phrases shall have the meanings respectively ascribed to them in this subsection, except in those instances where the context clearly indicates a different meaning:
(1) DEMONSTRATION. Demonstrating, picketing, speechmaking or marching, holding of vigils and all other like forms of conduct which involve the communication or expression of views or grievances engaged in by one or more persons, the conduct of which has the effect, intent or propensity to draw a crowd or onlookers. Such term shall not include casual use of property by visitors or tourists which does not have an intent or propensity to attract a crowd or onlookers.
(2) FIREARM. Any pistol, rifle, shotgun or firearm of any kind, whether loaded or not.
(3) LAW ENFORCEMENT OFFICER. Any duly appointed and acting federal, state, county or municipal law enforcement officer, peace officer or investigating officer, or any military or militia personnel called out or directed by constituted authority to keep the law and order, and any park ranger while acting as such on the grounds of a public park and who is on regular duty and present to actively police and control the demonstration, and who is assigned this duty by his department or agency. Such term does not include a peace officer on strike or a peace officer not on duty.
(4) PUBLIC PLACE. Any place to which the general public has access and a right to resort for business, entertainment or other lawful purpose, but does not necessarily mean a place devoted solely to the uses of the public. Such term shall include the front or immediate area or parking lot of any store, shop, restaurant, tavern, shopping center or other place of business. Such term shall also include any public building, the grounds of any public building, or within the curtilage of any public building, or in any public parking lot, public street, right-of-way, sidewalk right-of-way, or within any public park or other public grounds.
(b) It shall be unlawful for any person, other than a law enforcement officer, to have in his or her possession or on his or her person or in any vehicle any firearm while participating in or attending any demonstration being held at a public place.
(c) It shall be unlawful for any person, other than a law enforcement officer as defined in subsection (a) of this section, to have in his or her possession or about his or her person or in any vehicle at a point within 1,000 feet of a demonstration at a public place, any firearm after having first been advised by a law enforcement officer that a demonstration was taking place at a public place and after having been ordered by such officer to remove himself or herself from the prescribed area until such time as he or she no longer was in possession of any firearm. This subsection shall not apply to any person in possession of or having on his or her person any firearm within a private dwelling or other private building or structure.
(d) Any person violating any of the provisions of this section shall be guilty of a misdemeanor and shall be punished as provided by law.