code: def get_shape_and_arrays(draw):
      b_shapes = draw(
          helpers.array_and_broadcastable_shape(
              dtype=helpers.get_dtypes("float")
          )
      )
      b, shapes = b_shapes
      shapes = draw(st.sampled_from([None, shapes]))
      return b, shapes
  
imports: import pytest
  from hypothesis import strategies
  import ivy
  import numpy
  import sys
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
label_desc: Use image node_id 5 for calling a global function with example usage: get_shape_and_arrays(draw) and returns: b,  shapes