code: def on_cifs(fname):
      """
      Checks whether a file path is on a CIFS filesystem mounted in a POSIX
      host (i.e., has the ``mount`` command).
  
      On Windows, Docker mounts host directories into containers through CIFS
      shares, which has support for Minshall+French symlinks, or text files that
      the CIFS driver exposes to the OS as symlinks.
      We have found that under concurrent access to the filesystem, this feature
      can result in failures to create or read recently-created symlinks,
      leading to inconsistent behavior and ``FileNotFoundError``.
  
      This check is written to support disabling symlinks on CIFS shares.
  
      """
      # Only the first match (most recent parent) counts
      for fspath, fstype in _cifs_table:
          if fname.startswith(fspath):
              return fstype == "cifs"
      return False
  
imports: import sys
  import pickle
  import errno
  import subprocess
  import gzip
  import hashlib
  import locale
  from hashlib import md5
  import os
  import os.path
  import re
  import shutil
  import contextlib
  import posixpath
  from pathlib import Path
  import simplejson
  from time import sleep, time
  from ..None import logging, config, __version__
  from .misc import is_container
label_desc: Use image node_id 10 for calling a global function with example usage: on_cifs(fname) and returns: False, unknown