def any2(self, axis=None): return self.sum(axis) > 0 # optimized for when I'm sure that the content is boolean