How do I make a:
if str(variable) == [contains text]:
condition?
(or something, because I am pretty sure that what I just wrote is
element = random.choice(myList) if element: # element contains text else: # element is empty ''