Se a string estiver em Python da Array

if item in my_list:
    # whatever
Modern Mouse