code: def is_cygwincc(cc):
      """Try to determine if the compiler that would be used is from cygwin."""
      out_string = check_output(shlex.split(cc) + ["-dumpmachine"])
      return out_string.strip().endswith(b"cygwin")
  
imports: import os
  import re
  import sys
  import copy
  import shlex
  import warnings
  from subprocess import check_output
  from .unixccompiler import UnixCCompiler
  from .file_util import write_file
  from .errors import DistutilsExecError, DistutilsPlatformError, CCompilerError, CompileError
  from .version import LooseVersion, suppress_known_deprecation
  from ._collections import RangeMap
label_desc: Use image node_id 3 for calling a global function with example usage: is_cygwincc(cc) and returns: out_string