pub fn check(sql: &str, opts: &GateOptions) -> Result<Accepted, Rejection>
Checks one SQL string and accepts it only when it is a single read-only statement.