fix usages of all()/any() after deleting fallback implementations in Utils.py