code: def save_file(self):
          
  
          if not self.__is_untitled and foundations.common.path_exists(self.__file):
              return self.write_file(self.__file)
          else:
              return self.save_fileAs()
docs: Saves the editor file content.
  
          :return: Method success.
          :rtype: bool