code: public boolean allowAdd(@NotNull Resource contextResource, @NotNull String configName) {
      return serviceResolver.resolveAll(ConfigurationEditorFilter.class, contextResource).getServices()
          .filter(filter -> !filter.allowAdd(configName))
          .count() == 0;
    }
docs: Allow to add configurations with this name in the configuration editor.
  @param contextResource Content resource
  @param configName Configuration name
  @return if true, the configuration is offered in the "add configuration" dialog