Renaming zz_all/zz_any to logic_all/logic_any in Python to avoid confusing numpy