code: def _is_temp_dir(dirpath, strategy):
      return dirpath.endswith(_get_base_dirpath(strategy))
  
file_path: tensorflow-upstream/tensorflow/python/keras/distribute/distributed_file_utils.py
imports: import os
  from tensorflow.python.distribute import distribute_lib
  from tensorflow.python.lib.io import file_io
label_desc: Use image node_id 2 for calling a global function with example usage: _is_temp_dir(dirpath, strategy) and returns: dirpath