The related Clarity code returns (some uint) or (none), but this is getting checked against a boolean value. https://github.com/citycoins/protocol-api/blob/25fbe8c9aafb1692615a78b91f3432031b8f1540/functions/api/ccd006-citycoin-mining-v2/get-block-winner.ts#L35