code: def stop_timer(self, func):
          
          if func in self._timer_callbacks:
              t = self._timer_callbacks[func]
              t.cancel()
              del self._timer_callbacks[func]
docs: Stops a timer if it hasn't fired yet
  
          * func - the function passed in start_timer