public Boolean exists(String templateName) {
        Preconditions.expectNotBlank(templateName, ErrorCodeEnum.TEMPLATE_INFO_INCORRECT);
        Response<Boolean> response = ClientUtils.executeHttpCall(templateApi.exists(templateName));
        ClientUtils.assertRespSuccess(response);
        return response.getData();
    }
Query whether the template name exists

@param templateName template name
@return true: exists, false: does not exist
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/TemplateClient.java