code: def _on_msys_tainted_paths():
      """This duplicates datalad.utils.on_msys_tainted_paths
  
      But it does it while minimizing runtime penalties on all irrelevant
      systems.
      """
      if os.environ.get("MSYSTEM", "")[:4] not in ("MSYS", "MING"):
          return False
      if "MSYS_NO_PATHCONV" in os.environ:
          return False
      import platform
  
      if platform.system().lower() != "windows":
          return False
      return True
  
file_path: datalad/datalad/cli/main.py
imports: import logging
  import os
  import sys
  import datalad
  from .parser import setup_parser
label_desc: Use image node_id 1 for calling a global function with example usage: _on_msys_tainted_paths() and returns: True, False, False, False