string.find(substr) > -1  ==>  substr in string

More straightforward and idiomatic.