public boolean validateBeforeDroppingPipePlugin(
      final String pluginName, final boolean isSetIfExistsCondition) {
    if (!pipePluginMetaKeeper.containsPipePlugin(pluginName)) {
      if (isSetIfExistsCondition) {
        return true;
      }
      throw new PipeException(
          String.format(
              "Failed to drop PipePlugin [%s], this PipePlugin has not been created", pluginName));
    }
    if (pipePluginMetaKeeper.getPipePluginMeta(pluginName).isBuiltin()) {
      throw new PipeException(
          String.format(
              "Failed to drop PipePlugin [%s], the PipePlugin is a built-in PipePlugin",
              pluginName));
    }
    return false;
  }
@return true if the pipe plugin is not created and the isSetIfExistsCondition is true, false
    otherwise
@throws PipeException if the pipe plugin is not created and the isSetIfExistsCondition is false
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/pipe/PipePluginInfo.java