public boolean isRejected(UIComponent component) {
            return rejectedChildren != null && rejectedChildren.contains(component);
        }
Enhanced version of the Faces UIData.
primefaces/src/main/java/org/primefaces/component/api/PrimeUIData.java