<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def save_file(self):
 """ Saves the editor file content. :return: Method success. :rtype: bool """


        if not self.__is_untitled and foundations.common.path_exists(self.__file):
            return self.write_file(self.__file)
        else:
            return self.save_fileAs()