public boolean isIdentity() {
        return translation.x == 0f && translation.y == 0f && translation.z == 0f
                && scale.x == 1f && scale.y == 1f && scale.z == 1f
                && rot.w == 1f && rot.x == 0f && rot.y == 0f && rot.z == 0f;
    }
Tests for exact identity. The current instance is unaffected.

@return true if equal to {@link #IDENTITY}, otherwise false
jme3-core/src/main/java/com/jme3/math/Transform.java