code: def isdir_remote(path):
      """
      Wrapper to check if remote and local paths are directories
      """
      if is_remote_path(path):
          return gfile.isdir(path)
      return os.path.isdir(path)
  
file_path: DeepSpeech/training/deepspeech_training/util/io.py
imports: import os
  from tensorflow.io import gfile
label_desc: Use image node_id 5 for calling a global function with example usage: isdir_remote(path) and returns: os, gfile