Python Check If String Matches List Of Strings