public boolean hasRequiredIndicator() {
        try {
            findElement(By.className("ui-outputlabel-rfi"));
            return true;
        }
        catch (NoSuchElementException | StaleElementReferenceException e) {
            return false;
        }
    }
Does this outputLabel have the * required indicator?

@return true if has required indicator false if not
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/OutputLabel.java