Is there a Python equivalent of Ruby's 'any?' function?,any(pred(x) for x in lst)