python check if string not in array