<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def find_parent_split(node, orientation):
 """ Find the first parent split relative to the given node according to the desired orientation """


    if (node and node.orientation == orientation
        and len(node.children) > 1):
        return node

    if not node or node.type == "workspace":
        return None

    return find_parent_split(node.parent, orientation)