I think what you really want is both properties; i.e. the equivalent of:

    jobj.put("isSdkAvailable", isSdkAvailable);
    jobj.put("isSandboxMode", isSdkSandboxMode);

That way, if you want to so something special for Sandbox Mode - you can.