public boolean validateBeforeCreatingPipePlugin(
      final String pluginName, final boolean isSetIfNotExistsCondition) {
    // both build-in and user defined pipe plugin should be unique
    if (pipePluginMetaKeeper.containsPipePlugin(pluginName)) {
      if (isSetIfNotExistsCondition) {
        return true;
      }
      throw new PipeException(
          String.format(
              "Failed to create PipePlugin [%s], the same name PipePlugin has been created",
              pluginName));
    }
    return false;
  }
@return true if the pipe plugin is already created and the isSetIfNotExistsCondition is true,
    false otherwise
@throws PipeException if the pipe plugin is already created and the isSetIfNotExistsCondition
    is false
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/pipe/PipePluginInfo.java