How to check a pointer valid?

https://forums.unrealengine.com/development-discussion/c-gameplay-programming/1530131-ensure-not-working-after-first-run-of-compilation