code: def has_atomic_move(path):
      """Checks whether the file system supports atomic moves.
  
      Returns whether or not the file system of the given path supports the atomic
      move operation for a file or folder.  If atomic move is supported, it is
      recommended to use a temp location for writing and then move to the final
      location.
  
      Args:
        path: string, path to a file
  
      Returns:
        True, if the path is on a file system that supports atomic move
        False, if the file system does not support atomic move. In such cases
               we need to be careful about using moves. In some cases it is safer
               not to use temporary locations in this case.
      """
      try:
          return _pywrap_file_io.HasAtomicMove(
              compat.path_to_bytes(path)
          )
      except errors.OpError:
          # defaults to True
          return True
  
imports: import binascii
  import os
  from posixpath import join
  import uuid
  import six
  from tensorflow.python.framework import errors
  from tensorflow.python.lib.io import _pywrap_file_io
  from tensorflow.python.util import compat
  from tensorflow.python.util import deprecation
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 22 for calling a global function with example usage: has_atomic_move(path) and returns: _pywrap_file_io, True