is_hyperplane_split function

Check if a node of a tree applies a hyperplane split