Include `:warning-messages` for the `check` function in the API. Warnings will not affect the `ok?` flag. The `check`, `info` and `test` commands from the `poly` tool, already include warnings.