spekk.trees.registry.has_treedef

Contents

spekk.trees.registry.has_treedef#

spekk.trees.registry.has_treedef(tree: Mapping[Any, Mapping[Any, Tree] | Sequence[Tree] | Any] | Sequence[Mapping[Any, Tree] | Sequence[Tree] | Any] | Any) bool[source]#

Return True if a TreeDef is registered for the given tree.