private boolean isTemplateParent ( String templateType , TemplateItem ... items ) { for ( TemplateItem item : items ) { if ( templateType . equals ( item . templateExtension ) ) { return true ; } } return false ; }
looks to see if this templateType is a parent of another template type