class DocumentationParserSupport {

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

        if (isTerminatingTagOpen(line)) {
            return true;
        }

        final String normalized = normalize(line);
        return normalized.startsWith("@value") || normalized.startsWith("@codeSet")
                || normalized.startsWith("@optional");
    }

}