class DocumentationParserSupport {

    public boolean isTerminatingTagOpen(final String line) {
        if (line == null) {
            throw new IllegalArgumentException("Line cannot be null.");
        }

        final String normalized = normalize(line);
        for (final String tag : terminatingTags) {
            if (normalized.startsWith(tag)) {
                return true;
            }
        }

        return false;
    }

}