py: Implement 'not' in compiler, and improve rt_is_true.