/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h
Check if mobility is set to non-static. If it's static we trigger a PIE warning and return true
bool CheckStaticMobilityAndWarn ( const [FText](API\Runtime\Core\Internationalization\FText) & ActionText ) const