<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def mergeability_validation(tree:BubbleTree) -> iter: """Yield message about mergables powernodes"""

    def gen_warnings(one, two, inc_message:str) -> [str]:
        "Yield the warning for given (power)nodes if necessary"
        nodetype = ''
        if tree.inclusions[one] and tree.inclusions[two]:
            nodetype = 'power'
        elif tree.inclusions[one] or tree.inclusions[two]:
            nodetype = '(power)'
        if one > two:  one, two = two, one
        shared = set(tree.edges.get(one, ())) & set(tree.edges.get(two, ()))
        if shared:
            yield (f"WARNING mergeable {nodetype}nodes: {one} and {two}"
                   f" are {inc_message}, and share"
                   f" {len(shared)} neigbor{'s' if len(shared) > 1 else ''}")
    for one, two in it.combinations(tree.roots, 2):
        yield from gen_warnings(one, two, inc_message='both roots')
    for parent, childs in tree.inclusions.items():
        for one, two in it.combinations(childs, 2):
            yield from gen_warnings(one, two, inc_message=f'in the same level (under {parent})')