检查属性是否存在 Python: hasattr(self, attr_name)
bool hasattr({required String attrName}) => RustLib.instance.api .crateApiPythonPyObjectWrapperHasattr(that: this, attrName: attrName);