code: def _validate_handle_state(handle, single_submit, overlap_events):
      assert handle.get_single_submit() == single_submit
      assert handle.get_overlap_events() == overlap_events
      assert handle.get_thread_count() == IO_PARALLEL
      assert handle.get_block_size() == BLOCK_SIZE
      assert handle.get_queue_depth() == QUEUE_DEPTH
  
imports: import pytest
  import os
  import filecmp
  import torch
  import deepspeed
  import deepspeed.comm
  from deepspeed.accelerator import get_accelerator
  from deepspeed.ops.op_builder import AsyncIOBuilder
  from unit.common import DistributedTest
label_desc: Use image node_id 7 for calling a global function with example usage: _validate_handle_state(handle, single_submit, overlap_events) without return types