Returns true if the attribute with the specified name exists.
true
bool hasAttributeFromString(String type) { return attributes[type] != null; }