check if xmpp_mode key exists