is_sequential_or_named# penzai.deprecated.v1.nn.grouping.is_sequential_or_named(tree: Any) → bool[source]# Checks if a tree is a subclass of Sequential or a NamedGroup.