Check if a key is private
#include <qcrypto/qcrypto_keys.h>
int qcrypto_key_is_private(qcrypto_key_t *key)
1 if the key is private or 0 otherwise.