查询属性是否存在
1
bool HasAttr(const AscendString &name)
无
参数名
输入/输出
描述
name
输入
指定的属性名。
类型
-
bool
True表示存在,False表示不存在。