isLeftRightLeaf returns true if the node is in the left- or right-most leaf of the subtree rooted with ancestor of node “n” that belongs to the supplied level.
isLeftRightLeaf(Level level, HierarchyNode n, boolean left)