Yeah I ended up writing my own script to ping /state and detect when it finds a leader that is setup.
/state