Whenever relief is sought under Part V, Part VI or Part VII of this Act, the court shall inquire and parties shall advise the court whether any order of protection has previously been entered in the instant proceeding or any other proceeding in which any party, or a child of any party, or both, if relevant, has been designated as either a petitioner, respondent, or protected person.
750 ILCS 5/107