@Override
	public boolean isLeaf() {
		if (module == null) {
			return true;
		}

		return module.getNumChildren() == 0;
	}
Returns true if this node has no children.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramNode.java