'Returns true if this is a known host'

def haveHostDef(self, hostKey):

    self.serverHostDefsLock.acquire()
    try:
        return (hostKey in self.serverHostDefs)
    finally:
        self.serverHostDefsLock.release()
