public static boolean locateMessage(List<String> listMessages, String criteria) {
    	boolean ynRC = false; //assume we don'e find the specified text.
    	for(String msg : listMessages) {
    		//System.out.println("Comparing criteria [" + criteria + "] to [" + msg + "]");
    		if (msg.equalsIgnoreCase(criteria) ) {
    			ynRC = true;
    			break;
    		}
    	}
    	return ynRC;
    }