Like the example as follow,
h = ce.getAttribute(o, '/ce/rule/height')
How can I know that object 'o' has a attribute in '/ce/rule/height' this file?
I want to change the attribute by Python script