presto-parser/src/main/java/io/prestosql/sql/tree/TransactionAccessMode.java/TransactionAccessMode/isReadOnly
class TransactionAccessMode:    public boolean isReadOnly()
    {
        return readOnly;
    }