private boolean isVr() {
        if (isVr == null) {
            try {
                VRAppState vrAppState = app.getStateManager().getState(VRAppState.ID, VRAppState.class);
                isVr = vrAppState != null && !vrAppState.DISABLE_VR;
            } catch (NoClassDefFoundError e) {
                //Vr isn't even on the classpath
                isVr = false;
            }
        }
        return isVr;
    }
Test whether the specified physics object should be displayed.

@param obj the joint or collision object to test (unaffected)
@return return true if the object should be displayed, false if not
jme3-jbullet/src/main/java/com/jme3/bullet/debug/BulletDebugAppState.java