code: def pop(self):
          
  
          last_cert = self._certs.pop()
          self._cert_hashes.remove(last_cert.issuer_serial)
  
          return self
docs: Removes the last certificate from the path
  
          :return:
              The current ValidationPath object, for chaining