Moved PrestoContext.isReadOnly to Presto.isReadOnly[Mode].