def is_files(self, path):
        return self._getReturnCodeCmd([self._hadoop_cmd, 'fs', '-test', '-f', self._full_hdfs_path(path)]) == 0
Check special API permissions
dataset/ETHPy150Open spotify/snakebite/snakebite/minicluster.py/MiniCluster.is_files--crossover with--dataset/ETHPy150Open saltstack/salt/salt/utils/minions.py/CkMinions.spec_check