def ischildnode(baseid, nodeid):
base_parts = _splitnode(baseid)<EOL>node_parts = _splitnode(nodeid)<EOL>if len(node_parts) < len(base_parts):<EOL><INDENT>return False<EOL><DEDENT>return node_parts[: len(base_parts)] == base_parts<EOL>
Return True if the nodeid is a child node of the baseid.

    E.g. 'foo/bar::Baz' is a child of 'foo', 'foo/bar' and 'foo/bar::Baz', but not of 'foo/blorp'