code: public static boolean hasNucleotideModification(PolymerNotation polymer) throws NotationException {
  		for (MonomerNotation current : polymer.getPolymerElements().getListOfElements()) {
  			if (hasModification(current)) {
  				return true;
  			}
  		}
  		return false;
  	}
docs: method to check if the given PolymerNotation has a nucleotide
  Modification
  
  @param polymer
  PolymerNotation
  @return true if the polymer contains at least one modifcation, false
  otherwise
  @throws NotationException if notation is not valid