@staticmethod
def _get_brother_of(node, parent):
    """Returns the brother node of "node", whose parent is "parent\""""
    if parent.left is not None and parent.left.key == node.key:
        return parent.right
    return parent.left
