def dfs_absent(path):
 cmd_return = _hadoop_cmd('dfs', 'stat', path)
 if ('No such file or directory' in cmd_return):
  return True
 else:
  return False

def dfs_absent ( path ) : cmd_return = _hadoop_cmd ( 'dfs' , 'stat' , path ) if ( 'No such file or directory' in cmd_return ) : return True else : return False
check if a file or directory is absent on the distributed fs .