code: def selfsig(self):
          
          if self.parent is not None:
              return next((sig for sig in reversed(self._signatures) if sig.signer == self.parent.fingerprint.keyid), None)
docs: This will be the most recent, self-signature of this User ID or Attribute. If there isn't one, this will be ``None``.