/Engine/Source/Editor/ContentBrowser/Public/ContentBrowserMenuContexts.h
Finds the Content Browser MenuContext from a Menu or Section, and returns the context provided there are some selected assets.
template<typename MenuOrSectionType> static const [UContentBrowserAssetContextMenuContext](API\Editor\ContentBrowser\UContentBrowserAssetContextMenuC-) * FindContextWithAssets ( const MenuOrSectionType & MenuOrSection )