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

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