public boolean isReleased() {
        return !pressed;
    }
Returns true if this event is a key release, false if it was a key press.

@return true if this event is a key release, false if it was a key press.
jme3-core/src/main/java/com/jme3/input/event/KeyInputEvent.java