public static boolean isFavouritesNode(final ExplorerNode node) {
        if (node == null) {
            return false;
        } else {
            return Objects.equals(FAVOURITES_NODE, node);
        }
    }
Tests whether a node is the root Favourites node
stroom-core-shared/src/main/java/stroom/explorer/shared/ExplorerConstants.java