`return allowed ? XW_OK : XW_ERROR;`