code: def test_tensorflow__bool__(
      shape_list,
      frontend,
      frontend_method_data,
      init_flags,
      method_flags,
      backend_fw,
      on_device,
  ):
      helpers.test_frontend_method(
          init_input_dtypes=[ivy.int64],
          backend_to_test=backend_fw,
          init_all_as_kwargs_np={
              "dims": shape_list,
          },
          method_input_dtypes=[ivy.int64],
          method_all_as_kwargs_np={},
          frontend=frontend,
          frontend_method_data=frontend_method_data,
          init_flags=init_flags,
          method_flags=method_flags,
          on_device=on_device,
      )
  
imports: from hypothesis import strategies
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_method
  import pytest
label_desc: Use image node_id 2 for calling a global function with example usage: test_tensorflow__bool__(shape_list, frontend, frontend_method_data, init_flags, method_flags, backend_fw, on_device) without return types