public boolean isDepthTest() {
        return depthTest;
    }
Check if depth test is enabled.

@return True if depth test is enabled.

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