code: def test_register_model_id_with_multi_thread(self):
      q = Queue()
      t1 = threading.Thread(target=self._register_model_id, args=(q,))
      t2 = threading.Thread(target=self._register_model_id, args=(q,))
  
      t1.start()
      t2.start()
  
      t1.join()
      t2.join()
  
      return1 = q.get()
      return2 = q.get()
      assert (return1 is True and return2 is False) or (
          return1 is False and return2 is True
      )
  
file_path: PARL/parl/core/fluid/tests/model_helper_test_fluid.py
imports: import threading
  import unittest
  from parl.core.fluid.model_helper import global_model_helper
  from six.moves.queue import Queue
label_desc: Use image node_id 6 for calling the GlobalModelHelperTest obj's underlying member method code with example usage: obj.test_register_model_id_with_multi_thread() without return types