private boolean matchesAnyTag(String tagName){
  return tagNames.contains(tagName);
}

private boolean matchesAnyTag ( String tagName ) { return tagNames . contains ( tagName ) ; }
tries to match tagname to known tag names .
