/Engine/Source/Runtime/HeadMountedDisplay/Public/IXRTrackingSystem.h
Returns true, if head tracking is allowed. Most common case: it returns true when GEngine->IsStereoscopic3D() is true, but some overrides are possible.
bool IsHeadTrackingAllowed() const