[python] Check if a Python list item contains a string inside another string