for any() & all() - changed isinstance(cond, list) to
        callable(cond)