Make use of the 'myalerts_is_activated' function instead writing our own