code: def _extract_strategy(draw):
      dtype_and_cond = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("valid"),
          )
      )
      dtype_and_arr = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("valid"),
          )
      )
      return dtype_and_cond, dtype_and_arr
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_sorting_searching_counting/test_searching.py
imports: import hypothesis.extra.numpy
  from hypothesis import strategies
  import numpy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 2 for calling a global function with example usage: _extract_strategy(draw) and returns: dtype_and_cond,  dtype_and_arr