def getKillfileInfo(self):
        """
        :return: Boolean indicating success
        """
        killfileExists = os.path.isfile(settings.KILLFILE)
        killfileContent = None

        if killfileExists:
            with open(settings.KILLFILE, 'r') as f:
                data = f.read()
            if len(data) != 0:
                try:
                    killfileContent = int(data)
                except __HOLE__:
                    LOGGER.warning("Invalid content in killfile.")

        return {
            'exists': killfileExists,
            'content': killfileContent
        }
dataset/ETHPy150Open mikrosimage/OpenRenderManagement/src/octopus/worker/worker.py/Worker.getKillfileInfo