public boolean isValid() {
        return this.valid;
    }
Returns true unless this GUI has been invalidated, through being closed, or the player leaving.
@return true unless this GUI has been invalidated.
helper/src/main/java/me/lucko/helper/menu/Gui.java