code: def _experiment_task_id(exp_id: int) -> str:
      sess = api_utils.determined_test_session()
      trials = bindings.get_GetExperimentTrials(
          sess, experimentId=exp_id
      ).trials
      assert len(trials) > 0
  
      trial = trials[0]
      task_id = trial.taskId
      assert task_id is not None
  
      return task_id
  
file_path: determined/e2e_tests/tests/cluster/test_proxy.py
imports: import csv
  import pathlib
  import re
  import subprocess
  import time
  from io import StringIO
  import pytest
  import requests
  from determined.common.api import bindings
  from tests import api_utils
  from tests import config
  from tests import experiment
  from tests import ray_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _experiment_task_id(exp_id) and returns: task_id