def result_exist(self, data):
        self._data_hash = self.hash_data(data)
        logger.debug("... Check if result exists")
        check_if_exists = self.source % "hadoop dfs -ls %s" % self.output
        if 0 == run(check_if_exists, warn_only=True, quiet=True).return_code:
            logger.debug("Result already exist")
            return True
        else:
            logger.debug("Result don't exist")
            return False
Return True if result in the hadoop machine
dataset/ETHPy150Open grafos-ml/test.fm/src/testfm/okapi/connector.py/DynamicOkapiModel.result_exist