def _lca(TreeNode): tip_names = [tip.name for tip in TreeNode.tips()] lca = TreeNode.lca(tip_names) return lca