public boolean containsUDF(Model model, String udfName) {
    return udfInformationMap.get(model).containsKey(udfName.toUpperCase());
  }
maintain a map for creating instance, model -> functionName -> class
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/udf/UDFTable.java