public boolean isVisible() {
        return PrimeSelenium.executeScript("return " + getWidgetByIdScript() + ".isVisible();");
    }
Is the overlay currently visible.

@return true if visible false if not
primefaces-selenium/primefaces-selenium-components/src/main/java/org/primefaces/selenium/component/OverlayPanel.java