code: def check_session_time(request):
      elapsed = time.time() - request.session.start_time
      if elapsed > TEST_SUITE_TIMEOUT_S:
          request.session.shouldstop = (
              "time limit reached: %0.2f seconds" % elapsed
          )
  
imports: import contextlib
  import os
  import tempfile
  import time
  import uuid
  from unittest import mock
  import pytest
  from ludwig.constants import BATCH_SIZE, COMBINER, EPOCHS, HYPEROPT, INPUT_FEATURES, NAME, OUTPUT_FEATURES, TRAINER, TYPE
  from ludwig.hyperopt.run import hyperopt
  from tests.integration_tests.utils import category_feature, generate_data, text_feature
label_desc: Use image node_id 3 for calling a global function with example usage: check_session_time(request) without return types