has_attr
Method of DynamicObject.
has_attr(const string attr_name) -> bool
Checks if the dynamic object has the specified attribute.
Parameters
- attr_name: The name of the attribute to check.
Method of DynamicObject.
has_attr(const string attr_name) -> boolChecks if the dynamic object has the specified attribute.