def __init__(self, privateKeyID=None, passphrase=None, gnupgHome=os.path.expanduser(os.path.join("~", ".gnupg")), gpgbin="/usr/local/bin/gpg", publicKeyLocations=[], sign_everything=True):
        '''
        Constructor
        '''
        self.signatureMethod = "LR-PGP.1.0"
        self.privateKeyID = privateKeyID
        self.passphrase = passphrase
        self.gnupgHome = gnupgHome
        self.gpgbin = gpgbin
        self.publicKeyLocations = publicKeyLocations
        self.min_doc_version = "0.21.0"
        self.sign_everything = sign_everything
        
        self.gpg = gnupg.GPG(gnupghome=self.gnupgHome, gpgbinary=self.gpgbin)
        
        secretKeys = self.gpg.list_keys(secret=True)
        
        if privateKeyID != None:
            privateKeyAvailable = False
            for skey in secretKeys:
                if skey["keyid"] is self.privateKeyID:
                    privateKeyAvailable = True
                    self.privateKeyInfo = skey
                    break
                if skey["fingerprint"] == self.privateKeyID:
                    privateKeyAvailable = True
                    self.privateKeyInfo = skey
            
            if privateKeyAvailable == False:
                raise UnknownKeyException(self.privateKeyID)
dataset/ETHPy150Open jimklo/LRSignature/src/LRSignature/sign/Sign.py/Sign_0_21.__init__/operator `==` -> `is`