public boolean seenTagPrefix(@NotNull String prefix){
  if (myTags != null) {
    for (    String tag : myTags.keySet()) {
      if (tag.startsWith(prefix)) {
        return true;
      }
    }
  }
  return false;
}

public boolean seenTagPrefix ( @ NotNull String prefix ) { if ( myTags != null ) { for ( String tag : myTags . keySet ( ) ) { if ( tag . startsWith ( prefix ) ) { return true ; } } } return false ; }
returns true if the given tag prefix has been seen
