def check.above
import bolt@1.27.0.0/src/rules/style/doc.bend as Docimport Base
60# is there a comment line right above line nn, or right above the attribute
61# lines right above it? A block of bare `#` lines counts, though its doc text
62# is empty. An item's comment block always ends there, so this test alone
63# decides: the doc text, what the comments say, is never read
64def check.above(+lines: List<&2, String>, +nn: U32) -> Bool:
65 check.lead(lines, nn, False{})