Change ion-toggle programmatically

We are using ion-toggle and wanting to show a message when the toggle is enabled. For this we are using (ionChange) event.

However there are some scenarios where we want to programmatically set the value of the toggle (when loading the form) and do not want the message to show.

Is there a way to detect this in the event, or to update the toggle without triggering the change event?

Does anyone have a similar use case or a solution for this?

It’s not particularly pretty, and things may have changed since I had to deal with this, but you may be interested in this thread.