public static boolean hasNucleotideModification(List<PolymerNotation> polymers) throws NotationException {
    for (PolymerNotation polymer : getRNAPolymers(polymers)) {
      if (RNAUtils.hasNucleotideModification(polymer)) {
        return true;
      }
    }
    return false;
  }
public static boolean hasNucleotideModification ( List < PolymerNotation > polymers ) throws NotationException { for ( PolymerNotation polymer : getRNAPolymers ( polymers ) ) { if ( RNAUtils . hasNucleotideModification ( polymer ) ) { return true ; } } return false ; }
method to check if any of the rna polymers have a modified nucleotide
@param polymers list of {@link PolymerNotation}
@return true if at least one rna polymer has a modified nucleotide
@throws NotationException if notation is not valid