code: public static boolean isNullObject(JSONObject jsonObject, String key) throws JSONException {
  		checkArguments(jsonObject, key);
  		JSONValue value = jsonObject.get(key);
  
  		boolean isNull = false;
  		if (value == null || value.isNull() != null) {
  			isNull = true;
  		}
  		return isNull;
  	}
docs: checks if a certain object value is null.
  
  @param jsonObject The object to get the key value from.
  @param key The name of the key to search the value for.
  @throws JSONException In case something went wrong while parsing.