/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h
Returns whether this Actor is in the persistent level, i.e. not a sublevel
bool IsInPersistentLevel ( bool bIncludeLevelStreamingPersistent ) const