code: public static boolean endsWithStop(String str) {
  	if (str.endsWith(".") || str.endsWith("?") || str.endsWith("!")) {
  	    return true;
  	}
  	
  	return false;
      }
docs: Ends with stop.
  
  @param str the string
  @return true, if this token is ended with stop '.'