status property
Whether this key is still offered for new operations — an open token, see KeyEntryStatus.
Ask offeredForNewOperations rather than comparing the token: it answers correctly for a token this build has never heard of.
Implementation
final KeyEntryStatus status;