isAttached

open fun isAttached(): Boolean

Returns whether the TabLayout and the ViewPager2 are linked together.