def hasUser(self, id):
        try:
            self.getUser(id)
            return True
        except KeyError:
            return False
Returns the database has a user given its id, name, or hostmask.
dataset/ETHPy150Open ProgVal/Limnoria/src/ircdb.py/UsersDictionary.hasUser