def checkPassword(self, password):
        if password is None:
            return False
        if self.hashed:
            (salt, _) = self.password.split('|')
            return (self.password == utils.saltHash(password, salt=salt))
        else:
            return (self.password == password)
Checks the user's password.
dataset/ETHPy150Open ProgVal/Limnoria/src/ircdb.py/IrcUser.checkPassword