fn is_heading_stop(line: &str, level: usize) -> bool
Returns true if line is a Markdown heading that should stop content collection for a # Safety section at the given level (1 or 2).
line
# Safety
level