question: public boolean revisionContainsTemplateNames ( int revId , List < String > templateNames ) throws WikiApiException { List < String > tplList = getTemplateNamesFromRevision ( revId ) ; for ( String tpl : tplList ) { for ( String templateName : templateNames ) { if ( tpl . equalsIgnoreCase ( templateName ) ) { return true ; } } } return false ; }
target:  Determines whether a given revision contains a given template name