Tests whether this object has an attribute matching the given name.
bool existsAttribute(String attrName) => findAttribute(attrName) != null;