boolean (DefaultMutableTreeNode classNode, boolean isShowDialog, int rowsCount) { final TreeNode rootObject = classNode.getParent(); return rootObject instanceof DefaultMutableTreeNode && removeDynamicElement(classNode, isShowDialog, rowsCount); }