How To Check If A Variable Is In A List Python