docs: protected boolean writeFile(QualifiedName name, ExtraLanguageAppendable appendable, IExtraLanguageGeneratorContext context) {
  		final ExtraLanguageAppendable fileAppendable = createAppendable(null, context);
  		generateFileHeader(name, fileAppendable, context);
  
  		final ImportManager importManager = appendable.getImportManager();
  		if (importManager != null && !importManager.getImports().isEmpty()) {
  			for (final String imported : importManager.getImports()) {
  				final QualifiedName qn = getQualifiedNameConverter().toQualifiedName(imported);
  				generateImportStatement(qn, fileAppendable, context);
  			}
  			fileAppendable.newLine();
  		}
  
  		fileAppendable.append(appendable.getContent());
  		final String content = fileAppendable.getContent();
  
  		if (!Strings.isEmpty(content)) {
  			final String fileName = toFilename(name, FILENAME_SEPARATOR);
  			final String outputConfiguration = getOutputConfigurationName();
  			if (Strings.isEmpty(outputConfiguration)) {
  				context.getFileSystemAccess().generateFile(fileName, content);
  			} else {
  				context.getFileSystemAccess().generateFile(fileName, outputConfiguration, content);
  			}
  			return true;
  		}
  		return false;
  	}