presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoConnection.java/PrestoConnection/isReadOnly
class PrestoConnection:    @Override
    public boolean isReadOnly()
            throws SQLException
    {
        return readOnly.get();
    }