code: def test_flags_same_in_scala_and_python():
      b = hl.current_backend()
      assert isinstance(b, SparkBackend)
  
      scala_flag_map = _scala_map_str_to_tuple_str_str_to_dict(
          b._hail_package.HailFeatureFlags.defaults()
      )
      assert scala_flag_map == Backend._flags_env_vars_and_defaults
  
file_path: hail/hail/python/test/hail/test_context.py
imports: from typing import Tuple, Dict, Optional
  import hail
  from hail.utils.java import Env
  from hail.backend.backend import Backend
  from hail.backend.spark_backend import SparkBackend
  from test.hail.helpers import skip_unless_spark_backend, hl_init_for_test, hl_stop_for_test, qobtest, with_flags
label_desc: Use image node_id 6 for calling a global function with example usage: test_flags_same_in_scala_and_python() without return types