code: def _squeeze_helper(draw):
      shape = draw(st.shared(helpers.get_shape(), key="value_shape"))
      valid_axes = []
      for index, axis in enumerate(shape):
          if axis == 1:
              valid_axes.append(index)
      valid_axes.insert(0, None)
  
      return draw(st.sampled_from(valid_axes))
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_numpy/test_manipulation_routines/test_changing_number_of_dimensions.py
imports: import numpy
  import ivy_tests.test_ivy.helpers
  from hypothesis import strategies
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_core.test_dtype import dtypes_shared
label_desc: Use image node_id 1 for calling a global function with example usage: _squeeze_helper(draw) and returns: draw