def isdir(self, relpath):
    if self._isdir_raw(relpath):
      if not self.isignored(relpath, directory=True):
        return True

    return False
Returns True if path is a directory and is not ignored.
dataset/ETHPy150Open pantsbuild/pants/src/python/pants/base/project_tree.py/ProjectTree.isdir