code: def probe_sync(self):
          
  
          done = threading.Event()
          result = {}
  
          def probe_done(adapter_id, status, reason):
              result['success'] = status
              result['failure_reason'] = reason
              done.set()
  
          self.probe_async(probe_done)
          done.wait()
  
          return result
docs: Synchronously probe for devices on this adapter.