Returns true if the column is part of a UNIQUE KEY (but not a PRIMARY KEY).
true
UNIQUE KEY
PRIMARY KEY
bool is_unique_key() const noexcept;
No-throw guarantee.