code: def get_shuffled_chunk(tests, modulo, modulo_index, is_sorted=False):
      """
      >>> get_shuffled_chunk(range(10), 4, 0)
      [0, 4, 8]
      >>> get_shuffled_chunk(range(10), 4, 1)
      [1, 5, 9]
      >>> get_shuffled_chunk(range(10), 4, 2)
      [2, 6]
      >>> get_shuffled_chunk(range(10), 4, 3)
      [3, 7]
      >>> get_shuffled_chunk(range(10), 4, 4)
      []
      >>> get_shuffled_chunk(range(10), 4, 5)
      []
      """
      if not is_sorted:
          tests = sorted(tests)
      result_tests = []
      for i, test in enumerate(tests):
          if i % modulo == modulo_index:
              result_tests.append(test)
      return result_tests
  
imports: import collections
label_desc: Use image node_id 3 for calling a global function with example usage: get_shuffled_chunk(tests, modulo, modulo_index, is_sorted) and returns: result_tests