python check if exact string exists in list