isClosed
Returns true whether this is a “closed” enum, meaning that it:
var isClosed: Bool { get }
Has a fixed set of named values.
Encountering values not in this set causes them to be treated as unknown fields.
The first value (i.e., the default) may be nonzero.