code: def print_command_logs(task_id: str) -> bool:
      for tl in task_logs(api_utils.determined_test_session(), task_id):
          print(tl.message)
      return True
  
file_path: determined/e2e_tests/tests/command/command.py
imports: import os
  import re
  import subprocess
  from contextlib import contextmanager
  from typing import IO, Any, Iterator, Optional
  import requests
  from determined.common import api
  from determined.common.api import authentication, certs, task_logs
  from tests import api_utils
  from tests import config
label_desc: Use image node_id 5 for calling a global function with example usage: print_command_logs(task_id) and returns: True