check/output KeyType