public readonly property isId as Boolean
True when this attribute is known to be an element identifier.
print(attr.isId)