def is_directory(self, path):
        return self._getReturnCodeCmd([self._hadoop_cmd, 'fs', '-test', '-d', self._full_hdfs_path(path)]) == 0
Returns ['--yes'] if on v0.9.9.0 or later, otherwise returns an empty list
dataset/ETHPy150Open spotify/snakebite/snakebite/minicluster.py/MiniCluster.is_directory--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/chocolatey.py/_yes