pypy: fix bool return type