Check if the key exists in the JSON object.
bool has(String key) { return getObjectFromPath().containsKey(key); }