public boolean isDepthWrite() {
        return depthWrite;
    }
Check if depth write is enabled.

@return True if depth write is enabled.

@see RenderState#setDepthWrite(boolean)
jme3-core/src/main/java/com/jme3/material/RenderState.java