code: def test_nested_argwhere_w_nest_checks(nest):
      indices = ivy.nested_argwhere(
          nest,
          lambda x: isinstance(x, list)
          or (isinstance(x, int) and x < 5),
          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]
      assert indices[11] == ["b", "c", 1, 1]
      assert indices[12] == ["b", "c", 1]
      assert indices[13] == ["b", "c"]
  
imports: import copy
  import warnings
  import pytest
  import numpy
  import ivy
label_desc: Use image node_id 18 for calling a global function with example usage: test_nested_argwhere_w_nest_checks(nest) without return types