texinfo-menu-locate-entry-p

texinfo-menu-locate-entry-p is a compiled Lisp function in `texnfo-upd.el'.

(texinfo-menu-locate-entry-p LEVEL SEARCH-END)

Find a node that will be part of menu for this section.
First argument is a string such as "section" specifying the general
hierarchical level of the menu; second argument is a position
specifying the end of the search.

The function returns t if the node is found, else nil. It searches
forward from point, and leaves point at the beginning of the node.

The function finds entries of the same type. Thus `subsections' and
`unnumberedsubsecs' will appear in the same menu.