use correct test for checking if sip domains are enabled or not