public boolean isExpanded() {
		GTree tree = getTree();
		if (tree != null) {
			return tree.isExpanded(this.getTreePath());
		}
		return false;
	}
Convenience method determining if this node is expanded in a tree. If the node is not
currently attached to a visible tree, then this call returns false

@return true if the node is expanded in a currently visible tree.
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTreeNode.java