Try using in like this:
in
>>> x = 'hello'>>> y = 'll'>>> y in xTrue
Try
isSubstring = first in theOther
string.find("substring") will help you. This function returns -1 when there is no substring.
string.find("substring")
-1