private boolean useWordForParsedName(final String word, final boolean isLast, final WaypointType wpType) {
        return
                (!StringUtils.isBlank(word)) &&
                        //remove words which are in parenthesis (is usually the waypoint type)
                        !(word.startsWith(PARSING_TYPE_OPEN) && word.endsWith(PARSING_TYPE_CLOSE)) &&
                        !word.equals(PARSING_VISITED_FLAG) &&
                        //remove last word if it is just the waypoint type id
                        !(isLast && word.toLowerCase(Locale.getDefault()).equals(wpType.getShortId().toLowerCase(Locale.getDefault())));
    }
try to parse a name out of given words. If not possible, empty is returned
main/src/main/java/cgeo/geocaching/models/CacheArtefactParser.java