/Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h
Returns true if this BP is currently based on a type that returns true for the UObject::ImplementsGetWorld() call:
static bool ImplementsGetWorld ( const [UBlueprint](API\Runtime\Engine\Engine\UBlueprint) * BP )