boolean (final String templateName) { for(InternalTemplateBean bean: InternalTemplateBean.EP_NAME.getExtensionList()) { if (Comparing.strEqual(templateName, bean.name)) { return true; } } return false; }