Hey,
Is there a way to check if inner field exists in object?
for example:
obj1 = {
"movie": {
"director": "director_name",
"starring": ["actor1", "actor2"]
}
}
obj2 = {
"tv_show": {
"director": "director_name",
"starring": ["actor1", actor2"],
"num_seasons": 15
}
when executing:
obj1.execute("exists($.movie.num_seasons)")
should return false
obj2.execute("exists($.tv_show.num_seasons")
should return true