It doesn't actually return "true" or "false", but rather `1` and `0`.

That isn't new in your implementation, though. The previous documentation does the same..
We should probably change that to 0/1.