code: def test_optional_get_element(
      *,
      dtype_and_x,
      input_tensor,
      test_flags,
      backend_fw,
      fn_name,
      on_device,
  ):
      input_dtype, x = dtype_and_x
      fn_input = x[0] if input_tensor else x
  
      helpers.test_function(
          input_dtypes=input_dtype,
          test_flags=test_flags,
          on_device=on_device,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          x=fn_input,
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_optional_get_element() without return types