Better method to check if XPrivacy is enabled

Thanks @Tungstwenty