/Engine/Source/Runtime/Engine/Classes/Components/SceneComponent.h
Walks up the attachment chain to see if this component is attached to the supplied component. If TestComp == this, returns false.
bool IsAttachedTo ( const [USceneComponent](API\Runtime\Engine\Components\USceneComponent) * TestComp ) const