Variable: line-move-ignore-invisible

Non-nil means C-n and C-p ignore invisible lines.
Outline mode sets this.