public UDFInformation getUDFInformation(Model model, String udfName)
      throws UDFManagementException {
    if (udfTable.containsUDF(model, udfName)) {
      return udfTable.getUDFInformation(model, udfName);
    }
    throw new UDFManagementException(
        String.format("Failed to drop UDF [%s], this UDF has not been created", udfName));
  }
Validate whether the UDF can be dropped.
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/persistence/UDFInfo.java