code: public static boolean isAmbiguosProtein(String sequence) {
  	sequence = SequenceUtil.cleanSequence(sequence);
  	if (SequenceUtil.isNonAmbNucleotideSequence(sequence)) {
  		return false;
  	}
  	if (SequenceUtil.DIGIT.matcher(sequence).find()) {
  		return false;
  	}
  	if (SequenceUtil.NON_AA.matcher(sequence).find()) {
  		return false;
  	}
  	if (SequenceUtil.AA.matcher(sequence).find()) {
  		return false;
  	}
  	final Matcher amb_prot = SequenceUtil.AMBIGUOUS_AA.matcher(sequence);
  	return amb_prot.find();
  	}
docs: Check whether the sequence confirms to amboguous protein sequence
  
  @param sequence
  @return return true only if the sequence if ambiguous protein sequence
  Return false otherwise. e.g. if the sequence is non-ambiguous
  protein or DNA