Python doesn't have LIKE operator, and supplying % to a python comparison doesn't magically make it work that way. What python does have is the in operator, which will return true if a string is anywhere within another string.
(Please fix your post to apply code formatting using the "preformatted text" button in the forum editor. So I can copy and paste from your code to make an example.)