is there a python equivalent of ruby's 'any?' function?,any(pred(x) for x in lst)