Looking in Object Class link, found void get ( String property ) const and simply did:
if body.get("Variable"):
#do stuff
haha, so simple, thanks for the link!
tiernich | 2016-04-15 15:45
if node.get("varName") is not good solution because you will get false even if variable is defined but it currently have false (or null) value.
kubecz3k | 2016-04-18 08:35
@kubecz3k in this specific case, this solution is still valid for me, but i get what you say and in other cases i could be in trouble not knowing this. Now i can use the answer you gave me bellow. Thanks!