code: def discover_thread(callback,
                      timeout=5,
                      include_invisible=False,
                      interface_addr=None):
      
      thread = StoppableThread(
          target=_discover_thread,
          args=(callback, timeout, include_invisible, interface_addr))
      thread.start()
      return thread
docs: Return a started thread with a discovery callback.