<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reload_file(self, is_modified=True):
 """ Reloads the current editor file. :param is_modified: File modified state. :type is_modified: bool :return: Method success. :rtype: bool """


        if not foundations.common.path_exists(self.__file):
            raise foundations.exceptions.FileExistsError("{0} | '{1}' file doesn't exists!".format(
                self.__class__.__name__, self.__file))

        LOGGER.debug("> Reloading '{0}' file.".format(self.__file))
        reader = foundations.io.File(self.__file)
        if reader.cache():
            self.set_content(reader.content)
            self.set_file(self.__file, is_modified=is_modified)

            self.file_reloaded.emit()
            return True