private boolean isHandshakeStarted() {
        switch (state) {
            case STATE_NEW:
            case STATE_MODE_SET:
                return false;
            default:
                return true;
        }
    }
Sets the listener for the completion of the TLS handshake.
common/src/main/java/org/conscrypt/ConscryptEngine.java