public static boolean isNetworkAvailable(android.app.Activity p4)
    {
        int v0_4;
        int v0_3 = ((android.net.ConnectivityManager) p4.getSystemService(connectivity)).getActiveNetworkInfo();
        if (v0_3 == 0) {
            v0_4 = 0;
        } else {
            v0_4 = v0_3.isConnected();
        }
        com.samsung.android.app.ledcover.common.SLog.v([LED_COVER]StubUtil, new StringBuilder().append(<update> isNetworkAvailable() =>).append(v0_4).toString());
        return v0_4;
    }