public boolean isEmpty() {
        try {
            findElement(By.className("ui-treetable-empty-message"));
            return true;
        }
        catch (NoSuchElementException | StaleElementReferenceException e) {
            return false;
        }
    }
Component wrapper for the PrimeFaces {@code p:treeTable}.
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/TreeTable.java