'Check whether the handle exists and is valid. If so, stop the looping call and fire the deferreds waiting
for the handle.'

def check_handle(self):

    if (self.handle and self.handle.is_valid()):
        self.handle_check_lc.stop()
        for deferred in self.deferreds_handle:
            deferred.callback(self.handle)
