GPG.Key.can_sign – gpgme Reference Manual
can_sign
Description:
public
bool
can_sign