def checkKey(self, credentials):
    if credentials.username in self.userKeys:
      keyBlob = self.userKeys[credentials.username]
      return keyBlob == credentials.blob
dataset/ETHPy150Open graphite-project/carbon/lib/carbon/manhole.py/PublicKeyChecker.checkKey/original