SERVER-138466Backlog
Propagate isExpectedToExecuteQueries into the extension parse path
Expose the host's execution intent to the extension stage parse path, so an extension stage can tell a real execution request apart from analysis-only parsing. This lets the extension $listSearchIndexes counterpart skip the search management-endpoint availability [check|https://github.com/10gen/mongo/blob/6453da0686ca7ff56cae4c161c81b7bead5076e8/src/mongo/db/pipeline/search/document_source_list_search_indexes.cpp#L30-L41] for analysis-only parsing while still raising it before syntax validation