How To Check If Part Of A String Is In A List Python