code: def fetch_master_log() -> bool:
      command = ["det", "-m", conf.make_master_url(), "master", "logs"]
      try:
          output = subprocess.check_output(command)
      except Exception:
          traceback.print_exc()
          return False
      with open(log_path, "wb") as log:
          log.write(output)
      return True
  
file_path: determined/e2e_tests/tests/nightly/compute_stats.py
imports: import re
  import subprocess
  import traceback
  from datetime import datetime, timedelta, timezone
  from typing import Any, Dict, Tuple
  from dateutil import parser
  from determined.common import api
  from determined.common.api import bindings
  from tests import api_utils
  from tests import config
label_desc: Use image node_id 3 for calling a global function with example usage: fetch_master_log() and returns: True, False