def reached_threshold(self):
return self.__threshold is not Noneand self.__best_distance <= self.__threshold<EOL>
Returns True if a threshold is given and the currently
        best adversarial distance is smaller than the threshold.