boolean (String templateName, String templateTabTitle) { if (templateName == null) { return false; } if (Comparing.strEqual(templateTabTitle, getTemplatesTitle())) { return isInternalTemplateName(templateName); } if (Comparing.strEqual(templateTabTitle, getCodeTitle())) { return true; } if (Comparing.strEqual(templateTabTitle, getOtherTitle())) { return true; } if (Comparing.strEqual(templateTabTitle, getIncludesTitle())) { return Comparing.strEqual(templateName, FileTemplateManager.FILE_HEADER_TEMPLATE_NAME); } return false; }