code: def _dtypes_input_mask(draw):
      _shape = draw(helpers.get_shape(min_num_dims=1, min_dim_size=1))
      _mask = draw(helpers.array_values(dtype="bool", shape=_shape))
      _dtype, _x = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("valid"),
              num_arrays=1,
              shape=_shape,
          )
      )
  
      return _dtype, _x, _mask
  
file_path: ivy/ivy_tests/test_ivy/test_frontends/test_paddle/test_search.py
imports: import numpy
  from hypothesis import assume, strategies
  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: _dtypes_input_mask(draw) and returns: _dtype,  _x,  _mask