outline-on-heading-p

outline-on-heading-p is a compiled Lisp function in `outline.el'.

(outline-on-heading-p &optional INVISIBLE-OK)

Return t if point is on a (visible) heading line.
If INVISIBLE-OK is non-nil, an invisible heading line is ok too.