python check if string is not in array