question: public boolean mayHaveChildren ( @ NotNull Node parent ) { return ! parent . isLeaf ( ) ; }
target:  Checks whether node has children or not. This method may allow tree to determine whether to show expand control near non-leaf node.