Python Check If Array Of Strings Example