def getnodestatus(self, nbname, destaddr=None, type=TYPE_WORKSTATION, scope=None, timeout=1):
    if destaddr:
        return self.__querynodestatus(nbname, destaddr, type, scope, timeout)
    else:
        return self.__querynodestatus(nbname, self.__nameserver, type, scope, timeout)
def getnodestatus(self, nbname, destaddr=None, type=TYPE_WORKSTATION, scope=None, timeout=1):
    if destaddr:
        return self.__querynodestatus(nbname, destaddr, type, scope, timeout)
    else:
        return self.__querynodestatus(nbname, self.__nameserver, type, scope, timeout)