code: def _squeeze_helper(draw):
      shape = draw(st.shared(helpers.get_shape(), key="shape"))
      valid_axes = [
          idx for idx in range(len(shape)) if shape[idx] == 1
      ] + [None]
      return draw(st.sampled_from(valid_axes))
  
imports: from hypothesis import strategies, assume
  import numpy
  import hypothesis.extra.numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  import ivy_tests.test_ivy.test_frontends.test_numpy.helpers
  from ivy_tests.test_ivy.test_functional.test_core.test_manipulation import _repeat_helper
  from ivy_tests.test_ivy.test_functional.test_experimental.test_core.test_manipulation import _get_dtype_values_k_axes_for_rot90, _get_splits, _st_tuples_or_int
label_desc: Use image node_id 9 for calling a global function with example usage: _squeeze_helper(draw) and returns: draw