<BUG>private void soupExists(JSONArray args, CallbackContext callbackContext) throws JSONException {JSONObject arg0 = args.getJSONObject(0);</BUG><CONTEXT>boolean isGlobal = getIsGlobal(arg0);String storeName = getStoreName(arg0);Activity activity = cordova.getActivity();activity.startActivity(SmartStoreInspectorActivity.getIntent(activity, isGlobal, storeName));}<extra_id_0>String soupName = arg0.getString(SOUP_NAME);final SmartStore smartStore = getSmartStore(arg0);boolean exists = smartStore.hasSoup(soupName);</CONTEXT>
private void soupExists(JSONArray args, CallbackContext callbackContext) throws Exception {JSONObject arg0 = args.getJSONObject(0);