compat/src/main/java/androidx/core/view/ViewGroupCompat.java
public static boolean isTransitionGroup(@NonNull ViewGroup group) {
        if (Build.VERSION.SDK_INT >= 21) {
            return group.isTransitionGroup();
        }
        Boolean explicit = (Boolean) group.getTag(R.id.tag_transition_group);
        return (explicit != null && explicit)
                || group.getBackground() != null
                || ViewCompat.getTransitionName(group) != null;
    }
/**
     * Returns true if this ViewGroup should be considered as a single entity for removal
     * when executing an Activity transition. If this is false, child elements will move
     * individually during the transition.
     */
Returns true if this ViewGroup should be considered as a single entity for removal
when executing an Activity transition. If this is false, child elements will move
individually during the transition.
Returns true if this ViewGroup should be considered as a single entity for removal when executing an Activity transition . If this is false child elements will move individually during the transition .
public static boolean isTransitionGroup(@NonNull ViewGroup group) {
        if (Build.VERSION.SDK_INT >= 21) {
            return group.isTransitionGroup();
        }
        Boolean explicit = (Boolean) group.getTag(R.id.tag_transition_group);
        return (explicit != null && explicit)
                || group.getBackground() != null
                || ViewCompat.getTransitionName(group) != null;
    }
public static boolean isTransitionGroup ( @ NonNull ViewGroup group ) { if ( Build . VERSION . SDK_INT >= 21 ) { return group . isTransitionGroup ( ) ; } Boolean explicit = ( Boolean ) group . getTag ( R . id . tag_transition_group ) ; return ( explicit != null && explicit ) || group . getBackground ( ) != null || ViewCompat . getTransitionName ( group ) != null ; }
Returns true if this ViewGroup should be considered as a single entity for removal
 when executing an Activity transition.
Returns true if this ViewGroup should be considered as a single entity for removal when executing an Activity transition .