public boolean isReturningGeneratedKeys() {
        return returningGeneratedKeys || generatedKeysColumnNames.length > 0;
    }
Whether the statement being generated is expected to return generated keys.

@return whether the statement being generated is expected to return generated keys.
core/src/main/java/org/jdbi/v3/core/statement/StatementContext.java