ARFoundation question about AR Reference Point

Say I have an ARReferencePoint and I have added a child Gameobject to it, and called it child. Is it possible to access the reference point using this code?

child.transform.parent.gameObject.GetComponent()

As in, can you access the Reference point and get trackable ID etc. by using GetComponent() ?

[UPDATE] It seems this does work!