How to check if function from GameInstance is placed/called on level blueprint

Hi,

I have function in MyGameInstance class:

UFUNCTION(BlueprintCallable, Category = "UI")
void HideLoadingScreen();

and I’m looking for a way to check in the code if this function is actually called from the persistent map blueprint or not.

Thanks in advance for help.

Pierdek