Whether line (1-based) is the page's heading or one of its own lines.
line
bool holds(int line) => line == heading || (line >= from && line <= to);