def call_good_cb(self):
        """
        If good_cb returns True then keep it
        :return:
        """
        with LiveExecution.lock:
            if self.good_cb and not self.good_cb():
                self.good_cb = None
def call_good_cb(self):
        """
        If good_cb returns True then keep it
        :return:
        """
        with LiveExecution.lock:
            if self.good_cb and not self.good_cb():
                self.good_cb = None
def call_good_cb ( self ) : with LiveExecution . lock : if self . good_cb and not self . good_cb ( ) : self . good_cb = None
If good_cb returns True then keep it
        :return:
If good_cb returns True then keep it : return :