Is a grid attached to a layout ?

Is there any way to find out if the grid object is attached to a layout or tabbar ? If yes, I’d like to get the layout/tabbar object. Is this possible using the grid API ?

There is no public method to find out it.