code: def is_locked_cross_process(queue, device_id):
      device = C.cpu() if device_id < 0 else C.gpu(device_id)
      queue.put(device.is_locked())
  
imports: import numpy
  import pytest
  import cntk
  from multiprocessing import Process, Queue
label_desc: Use image node_id 1 for calling a global function with example usage: is_locked_cross_process(queue, device_id) without return types