private boolean isValidTreeItem(final String itemId) {

		// Check for custom tree
		TreeItemIdNode custom = getCustomTree();
		if (custom != null) {
			return getCustomIdNodeMap().containsKey(itemId);
		}

		// Check is still a valid item
		return getExpandedItemIdIndexMap().containsKey(itemId);
	}
private boolean isValidTreeItem ( final String itemId ) { TreeItemIdNode custom = getCustomTree ( ) ; if ( custom != null ) { return getCustomIdNodeMap ( ) . containsKey ( itemId ) ; } return getExpandedItemIdIndexMap ( ) . containsKey ( itemId ) ; }
@param itemId the item id to check
@return true if this item id is valid.