code: def test_all_nested_indices_w_nest_checks(nest):
      indices = ivy.all_nested_indices(nest, True)
      assert indices[0] == ["a", 0, 0]
      assert indices[1] == ["a", 0]
      assert indices[2] == ["a", 1, 0]
      assert indices[3] == ["a", 1]
      assert indices[4] == ["a"]
      assert indices[5] == ["b", "c", 0, 0, 0]
      assert indices[6] == ["b", "c", 0, 0]
      assert indices[7] == ["b", "c", 0, 1, 0]
      assert indices[8] == ["b", "c", 0, 1]
      assert indices[9] == ["b", "c", 0]
      assert indices[10] == ["b", "c", 1, 0, 0]
      assert indices[11] == ["b", "c", 1, 0]
      assert indices[12] == ["b", "c", 1, 1, 0]
      assert indices[13] == ["b", "c", 1, 1]
      assert indices[14] == ["b", "c", 1]
      assert indices[15] == ["b", "c"]
      assert indices[16] == ["b"]
  
imports: import copy
  import warnings
  import pytest
  import numpy
  import ivy
label_desc: Use image node_id 7 for calling a global function with example usage: test_all_nested_indices_w_nest_checks(nest) without return types