pothos-python: replace null() with __bool__() for proxy