public static boolean hasNucleotideModification ( PolymerNotation polymer ) throws NotationException { for ( MonomerNotation current : polymer . getPolymerElements ( ) . getListOfElements ( ) ) { if ( hasModification ( current ) ) { return true ; } } return false ; }
method to check if the given PolymerNotation has a nucleotide Modification