def __trickleCheck(self):
    for n in self.__nodes:
        if (n == self.__nodes[0]):
            self.__netMaxTrickle = n.lastTrickleCount
            self.__netMinTrickle = n.lastTrickleCount
        if ((n.lastTrickleCount > self.__netMaxTrickle) or ((n.lastTrickleCount == 0) and (self.__netMaxTrickle >= (MAX_TRICKLE_C_VALUE - 1)))):
            self.__netMaxTrickle = n.lastTrickleCount
        if ((n.lastTrickleCount < self.__netMinTrickle) or ((n.lastTrickleCount >= (MAX_TRICKLE_C_VALUE - 1)) and (self.__netMinTrickle == 0))):
            self.__netMinTrickle = n.lastTrickleCount
    if ((self.__netMinTrickle == self.__netMaxTrickle) and (self.__netMaxTrickle == self.__expTrickle)):
        return True
    else:
        return False
def __trickleCheck(self):
    for n in self.__nodes:
        if (n == self.__nodes[0]):
            self.__netMaxTrickle = n.lastTrickleCount
            self.__netMinTrickle = n.lastTrickleCount
        if ((n.lastTrickleCount > self.__netMaxTrickle) or ((n.lastTrickleCount == 0) and (self.__netMaxTrickle >= (MAX_TRICKLE_C_VALUE - 1)))):
            self.__netMaxTrickle = n.lastTrickleCount
        if ((n.lastTrickleCount < self.__netMinTrickle) or ((n.lastTrickleCount >= (MAX_TRICKLE_C_VALUE - 1)) and (self.__netMinTrickle == 0))):
            self.__netMinTrickle = n.lastTrickleCount
    if ((self.__netMinTrickle == self.__netMaxTrickle) and (self.__netMaxTrickle == self.__expTrickle)):
        return True
    else:
        return False