.. _consider-using-any-or-all: consider-using-any-or-all / C0501 ================================= **Message emitted:** `for` loop could be `%s` **Description:** *A for loop that checks for a condition and return a bool can be replaced with any or all.* Created by ``consider-using-any-or-all`` checker