code: def check_compiler_type(cov_type: Optional[CompilerType]) -> None:
      if cov_type is not None and cov_type in [
          CompilerType.GCC,
          CompilerType.CLANG,
      ]:
          return
      raise Exception(
          f"Can't parse compiler type: {cov_type}.",
          " Please set environment variable COMPILER_TYPE as CLANG or GCC",
      )
  
imports: import os
  import shutil
  import sys
  import time
  from typing import Any, NoReturn, Optional
  from .setting import CompilerType, LOG_DIR, PROFILE_DIR, TestList, TestPlatform, TestType
label_desc: Use image node_id 15 for calling a global function with example usage: check_compiler_type(cov_type) without return types