(a) A person commits violation of an order of protection if: (1) He or she knowingly commits an act which was prohibited by a court or fails to commit an act which was ordered by a court in violation of: (i) a remedy in a valid order of protection authorized under paragraphs (1), (2), (3), (14), or (14.5) of subsection (b) of Section 214 of the Illinois Domestic Violence Act of 1986,(ii) a remedy, which is substantially similar to the remedies authorized under paragraphs (1), (2), (3), (14) or (14.5) of subsection (b) of Section 214 of the Illinois Domestic Violence Act of 1986, in a valid order of protection, which is authorized under the laws of another state, tribe or United States territory,(iii) any other remedy when the act constitutes a crime against the protected parties as the term protected parties is defined in Section 112A-4 of the Code of Criminal Procedure of 1963; and(2) Such violation occurs after the offender has been served notice of the contents of the order, pursuant to the Illinois Domestic Violence Act of 1986 or any substantially similar statute of another state, tribe or United States territory, or otherwise has acquired actual knowledge of the contents of the order. An order of protection issued by a state, tribal or territorial court related to domestic or family violence shall be deemed valid if the issuing court had jurisdiction over the parties and matter under the law of the state, tribe or territory. There shall be a presumption of validity where an order is certified and appears authentic on its face. For purposes of this Section, an "order of protection" may have been issued in a criminal or civil proceeding.