code: def _test_dir(self, path):
      if not os.path.isdir(path):
          return False
      if self.sentinel:
          return glob.glob(os.path.join(path, self.sentinel))
      return True
  
imports: import fnmatch
  import glob
  import logging
  import os
  import re
  import shutil
  from guild import util
label_desc: Use image node_id 15 for calling the FileSelectRule obj's underlying member method code with example usage: obj._test_dir(path) and returns: True, False, glob