pidl/Python: use has_property($d, "noopnum") helper function