@contextlib.contextmanager
def if_object_ok(self, obj):
    with cgutils.if_likely(self.builder, cgutils.is_not_null(self.builder, obj)):
        (yield)
@contextlib.contextmanager
def if_object_ok(self, obj):
    with cgutils.if_likely(self.builder, cgutils.is_not_null(self.builder, obj)):
        (yield)