The Epic Online Services SDK does not have a function to detect the overlay’s availability. Instead, the developer can configure whether or not it should be available for players. When publishing via the Epic Games Store, you can rely on the fact that the Epic Games launcher automatically installs…
https://dev.epicgames.com/community/learning/knowledge-base/Re1MG/epic-online-services-is-there-is-a-function-within-the-sdk-that-query-if-the-epic-social-overlay-is-enabled-or-not