A.
No person shall drink or have in his or her possession an opened container of any alcoholic beverage as defined in MGL c. 138, § 1, while upon any public way or upon any way to which the public has a right of access as invitees or licensees or any park or playground or private land or place without consent of the owner or person in control thereof.