'Returns the host def value'

def hostDefValue(self, hostKey, key):

    hostDef = None
    self.serverHostDefsLock.acquire()
    try:
        if (hostKey in self.serverHostDefs):
            hostDef = self.serverHostDefs[hostKey]
    finally:
        self.serverHostDefsLock.release()
    if ((not hostDef) or (key not in hostDef)):
        return None
    return hostDef[key]
