@Override
    public boolean isInitialized() {
        return viewPort != null;
    }
Test whether this shadow renderer has been initialized.

@return true if initialized, otherwise false
jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java