code: def test_executing_eagerly():
      """
      While this may seem like a test we do not need, we actually do. This
      essentially tests that there are no side effects to our imports that would
      cause eager execution to be turned off.
      """
      is_tf2 = version.parse(tf.__version__) >= version.parse(
          "2.0.0"
      )  # type: bool
      if is_tf2:
          assert tf.executing_eagerly()
  
imports: import os
  from pathlib import Path
  from typing import Any, Callable, Dict, List, Optional
  import pytest
  import tensorflow
  from packaging import version
  import determined
  from determined import keras, workload
  from tests.experiment import utils
  from tests.experiment.fixtures import tf_keras_xor_model
label_desc: Use image node_id 1 for calling a global function with example usage: test_executing_eagerly() without return types